reorganize
This commit is contained in:
21
engine/mob/mob.go
Normal file
21
engine/mob/mob.go
Normal 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
5
engine/mob/player.go
Normal file
@ -0,0 +1,5 @@
|
||||
package mob
|
||||
|
||||
type Player struct {
|
||||
Mob
|
||||
}
|
Reference in New Issue
Block a user