diff options
| author | nokoe <nokoe@mailbox.org> | 2024-09-26 19:38:58 +0200 |
|---|---|---|
| committer | nokoe <nokoe@mailbox.org> | 2024-09-26 20:28:08 +0200 |
| commit | 2031a8b9d2bf568f538cc9223713f50c77bac897 (patch) | |
| tree | 82d9ed6f8502bcd1d949e28d4d61528b8478c437 /client/map/tiles/tile.gd | |
| parent | 2a96dbb14fe268c90025d1d0af5e66dc9b00f214 (diff) | |
| download | hurrycurry-2031a8b9d2bf568f538cc9223713f50c77bac897.tar hurrycurry-2031a8b9d2bf568f538cc9223713f50c77bac897.tar.bz2 hurrycurry-2031a8b9d2bf568f538cc9223713f50c77bac897.tar.zst | |
floor as one mesh
Diffstat (limited to 'client/map/tiles/tile.gd')
| -rw-r--r-- | client/map/tiles/tile.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/map/tiles/tile.gd b/client/map/tiles/tile.gd index bd507760..c5f75c57 100644 --- a/client/map/tiles/tile.gd +++ b/client/map/tiles/tile.gd @@ -28,11 +28,11 @@ enum Facing { X = 3, } -func _init(rename: String, _neighbors: Array): +func _init(ctx: TileFactory.TileCC): base.name = "Base" base.position += Vector3(0.5, 0, 0.5) add_child(base) - self.name = rename + self.name = str(ctx.position) var item_base_ = Node3D.new() # this method is supposed to be overriden @warning_ignore("static_called_on_instance") |