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 Disabled
Hidden Hidden
Map map[image.Point]Tile // tilespace coordinate -> tile Map map[image.Point]Tile // tilespace coordinate -> tile
Ersatz bool // "fake wall" Ersatz bool // disables collisions ("fake wall")
Offset image.Point // world coordinates Offset image.Point // world coordinates
Sheet Sheet Sheet Sheet
ZOrder ZOrder

View file

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