Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEntity ¶
func (MockEntity) Bounds ¶
func (e MockEntity) Bounds() coord.Bounds
func (MockEntity) Cell ¶
func (e MockEntity) Cell() coord.Cell
func (MockEntity) Flags ¶
func (e MockEntity) Flags() entity.Flag
func (MockEntity) Id ¶
func (e MockEntity) Id() entity.Id
func (MockEntity) String ¶
func (e MockEntity) String() string
func (MockEntity) ToState ¶
func (e MockEntity) ToState() entity.State
type MockEntityState ¶
type MockEntityState struct { Id entity.Id `json:"id"` Name string `json:"name"` Cell coord.Cell `json:"cell"` // contains filtered or unexported fields }
func (MockEntityState) Bounds ¶
func (e MockEntityState) Bounds() coord.Bounds
func (MockEntityState) EntityId ¶
func (e MockEntityState) EntityId() entity.Id
func (MockEntityState) IsDifferentFrom ¶
func (e MockEntityState) IsDifferentFrom(other entity.State) bool
type MockEntityWithBounds ¶
type MockEntityWithBounds struct { EntityId entity.Id EntityCell coord.Cell EntityBounds coord.Bounds Flagset entity.Flag }
func (MockEntityWithBounds) Bounds ¶
func (e MockEntityWithBounds) Bounds() coord.Bounds
func (MockEntityWithBounds) Cell ¶
func (e MockEntityWithBounds) Cell() coord.Cell
func (MockEntityWithBounds) Flags ¶
func (e MockEntityWithBounds) Flags() entity.Flag
func (MockEntityWithBounds) Id ¶
func (e MockEntityWithBounds) Id() entity.Id
func (MockEntityWithBounds) String ¶
func (e MockEntityWithBounds) String() string
func (MockEntityWithBounds) ToState ¶
func (e MockEntityWithBounds) ToState() entity.State
Click to show internal directories.
Click to hide internal directories.