phase shifts, itemize

This commit is contained in:
anton.gurov
2019-11-13 18:55:11 +03:00
parent d5a853df0e
commit 999f48afe9
14 changed files with 213 additions and 15 deletions

View File

@ -2,9 +2,16 @@ package items
import "lab.zaar.be/thefish/alchemyst-go/engine/ecs"
type Useable struct {}
type UsableFace interface {
Use()
}
type Usable struct {}
func (u *Useable) Type() string {
func (u *Usable) Type() string {
return ecs.UsableComponent
}
func (u *Usable) Use() {
}