Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameSprite ¶
type GameSprite struct { Icon string `json:"icon"` Frames []icon.SourceXY `json:"frames"` SourceWidth uint `json:"sw"` SourceHeight uint `json:"sh"` X uint `json:"x"` Y uint `json:"y"` Width uint `json:"w"` Height uint `json:"h"` Name string `json:"name"` Verbs []string `json:"verbs"` UID uint64 `json:"uid"` }
func (GameSprite) Equal ¶
func (s GameSprite) Equal(o GameSprite) bool
type Sound ¶
type Sound struct { File string `json:"file"` Repeat bool `json:"repeat"` Wait bool `json:"wait"` Channel uint `json:"channel"` Volume uint `json:"volume"` }
type SpriteView ¶
type SpriteView struct { WindowTitle string `json:"windowtitle"` ViewPortWidth uint `json:"viewportwidth"` ViewPortHeight uint `json:"viewportheight"` Sprites []GameSprite `json:"sprites"` Stats StatDisplay `json:"stats"` Verbs []string `json:"verbs"` }
func (SpriteView) Equal ¶
func (a SpriteView) Equal(b SpriteView) bool
type StatDisplay ¶
func (StatDisplay) Equal ¶
func (d StatDisplay) Equal(o StatDisplay) bool
type StatEntry ¶
type ViewUpdate ¶
type ViewUpdate struct { NewState *SpriteView `json:"newstate"` TextLines []string `json:"textlines"` Sounds []Sound `json:"sounds"` Flicks []Flick `json:"flicks"` }
Click to show internal directories.
Click to hide internal directories.