Documentation ¶
Index ¶
- Constants
- type Core
- type Definition
- type HandConstraint
- type HandModifiers
- type HandSide
- type Item
- type ItemObject
- func (o *ItemObject) AppendVerticesIndices(vx []ebiten.Vertex, ix []uint16, index *int, ctx *graphics.Context) ([]ebiten.Vertex, []uint16)
- func (i *ItemObject) Damage() float64
- func (i *ItemObject) Dead() bool
- func (i *ItemObject) Position() mgl64.Vec3
- func (i *ItemObject) Radius() float64
- func (i *ItemObject) TakeHit(_ float64)
- func (i *ItemObject) Team() entity.Team
- func (i *ItemObject) Update(ctx *entity.Context)
- type Kind
- type Mod
- type Phase
- func (p *Phase) AppendEntities(entities []entity.Entity) []entity.Entity
- func (p *Phase) MarkerShape() aoe.Shape
- func (p *Phase) Pick()
- func (p *Phase) RegisterExtraCurse()
- func (p *Phase) RollExisting(objects []*ItemObject, curse bool)
- func (p *Phase) RollExtraCurses(n int)
- func (p *Phase) RollNew()
- func (p *Phase) Update(ctx *entity.Context)
- type ProjectileData
Constants ¶
View Source
const ( Damage_up int = iota Critical_chance Prayer Luck Highroll Dual_damage_up Attack_speed_up Striker Gambler Dual_Prayer Dual_damage_way_up Critical_damage Curse_advantage_ex Curse_advantage Survivor Dual_critical_chance Pistol Extra_shot Dual_curse_advantage Change_of_mind Homing Sync Mimic Relaxed Clumsy Scared Inaccurate Heavy Trap Lowroll Sabotage Delicate Love Procrastination Rest Light ItemMax )
View Source
const ( ItemsPerLine = 12 Lines = 20 PhaseItems = Lines * ItemsPerLine )
View Source
const InfiniteStacks = -1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct { Health float64 MaxHealth float64 AttackSpeedStacks int Synced bool Luck float64 HealthPerStage float64 Bonuses []*Mod Curses []*Mod // contains filtered or unexported fields }
func (*Core) Projectile ¶
func (c *Core) Projectile(side hand.Side) *ProjectileData
type Definition ¶
type HandConstraint ¶
type HandConstraint byte
const ( SingleHand HandConstraint = iota BothHands None )
type HandModifiers ¶
type ItemObject ¶
type ItemObject struct { Item *Item // contains filtered or unexported fields }
func (*ItemObject) AppendVerticesIndices ¶
func (*ItemObject) Damage ¶
func (i *ItemObject) Damage() float64
func (*ItemObject) Dead ¶
func (i *ItemObject) Dead() bool
func (*ItemObject) Position ¶
func (i *ItemObject) Position() mgl64.Vec3
func (*ItemObject) Radius ¶
func (i *ItemObject) Radius() float64
func (*ItemObject) TakeHit ¶
func (i *ItemObject) TakeHit(_ float64)
func (*ItemObject) Team ¶
func (i *ItemObject) Team() entity.Team
func (*ItemObject) Update ¶
func (i *ItemObject) Update(ctx *entity.Context)
type Mod ¶
type Mod struct { Stacks int // contains filtered or unexported fields }
func (*Mod) Apply ¶
func (m *Mod) Apply(c *Core, hm *HandModifiers)
func (*Mod) Description ¶
func (*Mod) SourceRect ¶
type Phase ¶
type Phase struct { Target *ItemObject NextExtraCurses []*Item Objects []*ItemObject // contains filtered or unexported fields }
func (*Phase) AppendEntities ¶
func (*Phase) MarkerShape ¶
func (*Phase) RegisterExtraCurse ¶
func (p *Phase) RegisterExtraCurse()
func (*Phase) RollExisting ¶
func (p *Phase) RollExisting(objects []*ItemObject, curse bool)
func (*Phase) RollExtraCurses ¶
Click to show internal directories.
Click to hide internal directories.