story
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
package movement
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"lab.zaar.be/thefish/alchemyst-go/engine/ecs"
|
||||
"lab.zaar.be/thefish/alchemyst-go/engine/gamemap"
|
||||
"lab.zaar.be/thefish/alchemyst-go/engine/mob"
|
||||
@ -19,6 +18,7 @@ func (mov Moveable) Walk() {
|
||||
|
||||
}
|
||||
|
||||
//fixme change it to WhatsOnTile
|
||||
func (mov Moveable) IsBlocked(c types.Coords) bool {
|
||||
if mov.Level.GetTile(c).BlocksPass == true {
|
||||
return true
|
||||
@ -41,7 +41,6 @@ func (mov Moveable) IsBlocked(c types.Coords) bool {
|
||||
return true
|
||||
}
|
||||
}
|
||||
fmt.Printf("\nCoords %v do not block pass!", c)
|
||||
return false
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user