comment
This commit is contained in:
parent
36336c67b9
commit
bdbede6e27
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue