You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
272 B
Go

package sim
import (
"time"
"github.com/jordanorelli/blammo"
)
// player represents a player character in the simulation
type player struct {
*blammo.Log
entityID int
}
func (p *player) update(dt time.Duration) {
}
func (p *player) id() int { return p.entityID }