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.

12 lines
176 B
Go

package sim
4 years ago
import "time"
// entity is any entity that can be simulated.
type entity interface {
id() int
// update is the standard tick function
update(time.Duration)
}