Documentation ¶
Index ¶
- Constants
- type Target
- func (t *Target) AttackWillLand(a combat.AttackPattern) (bool, string)
- func (t *Target) CalcTempDirection(trg geometry.Point) geometry.Point
- func (t *Target) Collidable() bool
- func (t *Target) CollidableWith(x targets.TargettableType) bool
- func (t *Target) CollidedWith(x combat.Target)
- func (t *Target) Direction() geometry.Point
- func (t *Target) GetTag(key string) int
- func (t *Target) GroupTagDamageMult(tag attacks.ICDTag, grp attacks.ICDGroup, char int) float64
- func (t *Target) IsAlive() bool
- func (t *Target) IsWithinArea(a combat.AttackPattern) bool
- func (t *Target) Key() targets.TargetKey
- func (t *Target) Kill()
- func (t *Target) Pos() geometry.Point
- func (t *Target) RemoveTag(key string)
- func (t *Target) ResetDamageCounterAfterDelay(tag attacks.ICDTag, grp attacks.ICDGroup, char int)
- func (t *Target) ResetTagCounterAfterDelay(tag attacks.ICDTag, grp attacks.ICDGroup, char int)
- func (t *Target) SetDirection(trg geometry.Point)
- func (t *Target) SetDirectionToClosestEnemy()
- func (t *Target) SetKey(x targets.TargetKey)
- func (t *Target) SetPos(p geometry.Point)
- func (t *Target) SetTag(key string, val int)
- func (t *Target) Shape() geometry.Shape
- func (t *Target) WillApplyEle(tag attacks.ICDTag, grp attacks.ICDGroup, char int) float64
- func (t *Target) WillCollide(s geometry.Shape) bool
Constants ¶
View Source
const MaxTeamSize = 4
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Target ¶
type Target struct { Core *core.Core Hitbox geometry.Circle Tags map[string]int CollidableTypes [targets.TargettableTypeCount]bool OnCollision func(combat.Target) Alive bool // contains filtered or unexported fields }
func (*Target) AttackWillLand ¶ added in v1.2.0
func (t *Target) AttackWillLand(a combat.AttackPattern) (bool, string)
func (*Target) CalcTempDirection ¶ added in v1.6.0
func (*Target) Collidable ¶ added in v1.2.0
func (*Target) CollidableWith ¶ added in v1.2.0
func (t *Target) CollidableWith(x targets.TargettableType) bool
func (*Target) CollidedWith ¶ added in v1.2.0
func (*Target) GroupTagDamageMult ¶ added in v1.3.0
func (*Target) IsWithinArea ¶ added in v1.7.0
func (t *Target) IsWithinArea(a combat.AttackPattern) bool
func (*Target) ResetDamageCounterAfterDelay ¶ added in v1.3.0
func (*Target) ResetTagCounterAfterDelay ¶ added in v1.3.0
func (*Target) SetDirection ¶ added in v1.6.0
func (*Target) SetDirectionToClosestEnemy ¶ added in v1.6.0
func (t *Target) SetDirectionToClosestEnemy()
func (*Target) WillApplyEle ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.