reorganize

This commit is contained in:
2019-11-01 18:21:27 +03:00
parent 1ac6ae4665
commit 529f5a5749
7 changed files with 56 additions and 49 deletions

21
engine/mob/mob.go Normal file
View File

@ -0,0 +1,21 @@
package mob
import "lab.zaar.be/thefish/alchemyst-go/engine/types"
type Mob struct {
*types.Appearance
types.Coords
BlocksPass bool
}
func (m *Mob) Walk(dx, dy int) {
}
func (m *Mob) Render() {
}
func (m *Mob) MoveToCoords(c types.Coords) {
}

5
engine/mob/player.go Normal file
View File

@ -0,0 +1,5 @@
package mob
type Player struct {
Mob
}