@ -13,7 +13,6 @@ type player struct {
}
func (p *player) update(dt time.Duration) {
p.Info("tick")
func (p *player) id() int { return p.entityID }
@ -16,7 +16,6 @@ type room struct {
func (r *room) update(dt time.Duration) {
r.Info("updating room")
for _, t := range r.tiles {
for _, e := range t.contents {
e.update(dt)
@ -82,7 +82,6 @@ func (w *World) DespawnPlayer(id int) {
func (w *World) tick(d time.Duration) {
w.Info("tick. elapsed: %v", d)
for _, r := range w.rooms {
r.update(d)