Documentation ¶
Index ¶
- type DecorationList
- type ElementList
- type ExitList
- type Info
- type NpcList
- type Scene
- func (s *Scene) AstarCheckPoint(x, y int) bool
- func (s *Scene) Draw(canvas g2d.Canvas, gridcolor string)
- func (s *Scene) GetAstarPath(x1, y1, x2, y2 int) (path []g2d.Point)
- func (s *Scene) GetInfo() Info
- func (s *Scene) GetOffset() (x, y int)
- func (s *Scene) GetVolume() float64
- func (s *Scene) LookAt(x, y int)
- func (s *Scene) SetImage(x, y int, data []byte) error
- func (s *Scene) SetOffset(x, y int)
- func (s *Scene) SetVolume(volume float64)
- func (s *Scene) Update() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElementList ¶
type Info ¶
type Info struct { ID int Name string Width int Height int Music string ElementList []ElementList NpcList []NpcList DecorationList []DecorationList ExitList []ExitList MaskData [][]uint8 }
type Scene ¶
type Scene struct {
// contains filtered or unexported fields
}
func (*Scene) AstarCheckPoint ¶
Click to show internal directories.
Click to hide internal directories.