示例#1
0
 public Tool(WorldTile type, Texture2D texture)
 {
     this.type = type;
     this.texture = texture;
     this.isObstacle = type.isObstacle();
     this.cost = type.GetCost();
 }