You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
756 B
30 lines
756 B
public class BlockInstance { |
|
public int BlockId; |
|
public int mass; |
|
public int life; |
|
public int price; |
|
public string icon; |
|
public string name; |
|
public int modelId; |
|
|
|
public BlockInstance() |
|
{ |
|
this.BlockId = 9999; |
|
this.mass = 1; |
|
this.life = 100; |
|
this.price = 100; |
|
this.icon = "defaultBlock001.png"; |
|
this.name = "测试默认"; |
|
this.modelId = 0; |
|
} |
|
public BlockInstance(int BlockId, int mass, int life, int price,string icon,string name,int modelId) |
|
{ |
|
this.BlockId = BlockId; |
|
this.mass = mass; |
|
this.life = life; |
|
this.price = price; |
|
this.icon = icon; |
|
this.name = name; |
|
this.modelId = modelId; |
|
} |
|
}
|
|
|