This commit is contained in:
Josh Deprez 2021-08-27 12:00:20 +10:00
parent 43eff6e326
commit 263e197f32
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ type Tilemap struct {
Disabled
Hidden
Map map[image.Point]Tile // tilespace coordinate -> tile
Ersatz bool // "fake wall"
Ersatz bool // disables collisions ("fake wall")
Offset image.Point // world coordinates
Sheet Sheet
ZOrder

View file

@ -29,7 +29,7 @@ var (
// But Wall is still responsible for collisions.
type Wall struct {
ID
Ersatz bool // fake wall - disables collisions
Ersatz bool // disables collisions ("fake wall")
Offset image.Point // offset the whole wall
Sheet Sheet
UnitOffset image.Point // drawing offset