Documentation ¶
Index ¶
- func Validate(o O) bool
- type O
- type P
- func (p *P) AABB() hyperrectangle.R
- func (p *P) Flags() flags.F
- func (p *P) Heading() polar.V
- func (p *P) ID() id.ID
- func (p *P) Position() vector.V
- func (p *P) Radius() float64
- func (p *P) SetHeading(v polar.V)
- func (p *P) SetID(x id.ID)
- func (p *P) SetPosition(v vector.V)
- func (p *P) SetTargetPosition(v vector.V)
- func (p *P) SetTargetVelocity(v vector.V)
- func (p *P) SetVelocity(v vector.V)
- func (p *P) TargetPosition() vector.V
- func (p *P) TargetVelocity() vector.V
- func (p *P) Team() team.F
- func (p *P) Velocity() vector.V
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type P ¶
type P struct {
// contains filtered or unexported fields
}
func (*P) AABB ¶
func (p *P) AABB() hyperrectangle.R
func (*P) SetHeading ¶
func (*P) SetPosition ¶
func (*P) SetTargetPosition ¶ added in v0.3.2
func (*P) SetTargetVelocity ¶
func (*P) SetVelocity ¶
func (*P) TargetPosition ¶ added in v0.3.2
func (*P) TargetVelocity ¶
Click to show internal directories.
Click to hide internal directories.