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.
|
package entity
|
|
|
|
import (
|
|
"code.rocketnine.space/tslocum/gohan"
|
|
"code.rocketnine.space/tslocum/hot-cocoa-tycoon/component"
|
|
)
|
|
|
|
func NewOnceEntity() gohan.Entity {
|
|
e := gohan.NewEntity()
|
|
e.AddComponent(&component.Once{})
|
|
return e
|
|
}
|