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

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