public Tool(WorldTile type, Texture2D texture) { this.type = type; this.texture = texture; this.isObstacle = type.isObstacle(); this.cost = type.GetCost(); }