Documentation ¶
Index ¶
- Constants
- type Field
- func (f *Field) Draw(screen *ebiten.Image, gameData GameData, viewPositionX, viewPositionY int)
- func (f *Field) EraseField(x, y int)
- func (f *Field) GetField(x, y int) fieldtype.FieldType
- func (f *Field) GetStartPoint() (int, int)
- func (f *Field) IsItem(x, y int) bool
- func (f *Field) IsItemGettable(x, y int, gameData GameData) bool
- func (f *Field) IsRidable(x, y int) bool
- func (f *Field) IsSpike(x, y int) bool
- func (f *Field) IsWall(x, y int) bool
- func (f *Field) Update()
- type GameData
Constants ¶
View Source
const (
CHAR_SIZE = 16
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct {
// contains filtered or unexported fields
}
func (*Field) EraseField ¶
func (*Field) GetStartPoint ¶
Click to show internal directories.
Click to hide internal directories.