Documentation
¶
Index ¶
- Constants
- type Board
- type Core
- func (c *Core) GetCompletion() float64
- func (c *Core) GetDifficulty() float64
- func (c *Core) GetLoop() int
- func (c *Core) GetStatistics() Statistics
- func (c *Core) GetTime() time.Duration
- func (c *Core) IsOver() bool
- func (c *Core) IsPaused() bool
- func (c *Core) Loop()
- func (c *Core) TogglePause()
- func (c *Core) Update()
- type Player
- type Statistics
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct {
Shape *shape.Shape
Board *Board
Player *Player
Aoes []*entity.Aoe
Projectiles []*entity.Projectile
// contains filtered or unexported fields
}
func (*Core) GetCompletion ¶
func (*Core) GetDifficulty ¶
func (*Core) GetStatistics ¶
func (c *Core) GetStatistics() Statistics
func (*Core) TogglePause ¶
func (c *Core) TogglePause()
Click to show internal directories.
Click to hide internal directories.