colordance
This commit is contained in:
25
engine/mob/mob.go
Normal file
25
engine/mob/mob.go
Normal file
@ -0,0 +1,25 @@
|
||||
package mob
|
||||
|
||||
import (
|
||||
"lab.zaar.be/thefish/alchemyst-go/engine/gamemap"
|
||||
"lab.zaar.be/thefish/alchemyst-go/engine/types"
|
||||
)
|
||||
|
||||
type Mob struct {
|
||||
*gamemap.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