remove spurious logging

master
Jordan Orelli 4 years ago
parent abaaa9e908
commit 89da656687

@ -13,7 +13,6 @@ type player struct {
} }
func (p *player) update(dt time.Duration) { func (p *player) update(dt time.Duration) {
p.Info("tick")
} }
func (p *player) id() int { return p.entityID } func (p *player) id() int { return p.entityID }

@ -16,7 +16,6 @@ type room struct {
} }
func (r *room) update(dt time.Duration) { func (r *room) update(dt time.Duration) {
r.Info("updating room")
for _, t := range r.tiles { for _, t := range r.tiles {
for _, e := range t.contents { for _, e := range t.contents {
e.update(dt) e.update(dt)

@ -82,7 +82,6 @@ func (w *World) DespawnPlayer(id int) {
} }
func (w *World) tick(d time.Duration) { func (w *World) tick(d time.Duration) {
w.Info("tick. elapsed: %v", d)
for _, r := range w.rooms { for _, r := range w.rooms {
r.update(d) r.update(d)
} }

Loading…
Cancel
Save