This commit is contained in:
Josh Deprez 2021-08-31 15:44:25 +10:00
parent 36336c67b9
commit bdbede6e27

View file

@ -66,7 +66,8 @@ func (w *Wall) CollidesWith(r image.Rectangle) bool {
func (w *Wall) Scan() []interface{} { return []interface{}{&w.Sheet} } func (w *Wall) Scan() []interface{} { return []interface{}{&w.Sheet} }
// WallUnit // WallUnit is a unit in a wall. Unlike a tile in a tilemap, WallUnit is
// responsible for drawing itself.
type WallUnit struct { type WallUnit struct {
Disabled Disabled
Hidden Hidden