Documentation ¶
Index ¶
- func GetMoverCtorByName(name string) (moverCtor func() MultiPointMover, finalName string)
- type AggressiveMover
- func (mover AggressiveMover) GetEndTime() float64
- func (mover AggressiveMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
- func (mover AggressiveMover) GetObjectsEndTime(object objects.IHitObject) float64
- func (mover AggressiveMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
- func (mover AggressiveMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
- func (mover AggressiveMover) GetObjectsStartTime(object objects.IHitObject) float64
- func (mover AggressiveMover) GetStartTime() float64
- func (mover *AggressiveMover) Reset(diff *difficulty.Difficulty, id int)
- func (mover *AggressiveMover) SetObjects(objs []objects.IHitObject) int
- func (mover *AggressiveMover) Update(time float64) vector.Vector2f
- type AngleOffsetMover
- func (mover AngleOffsetMover) GetEndTime() float64
- func (mover AngleOffsetMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
- func (mover AngleOffsetMover) GetObjectsEndTime(object objects.IHitObject) float64
- func (mover AngleOffsetMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
- func (mover AngleOffsetMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
- func (mover AngleOffsetMover) GetObjectsStartTime(object objects.IHitObject) float64
- func (mover AngleOffsetMover) GetStartTime() float64
- func (mover *AngleOffsetMover) Reset(diff *difficulty.Difficulty, id int)
- func (mover *AngleOffsetMover) SetObjects(objs []objects.IHitObject) int
- func (mover *AngleOffsetMover) Update(time float64) vector.Vector2f
- type AxisMover
- func (mover AxisMover) GetEndTime() float64
- func (mover AxisMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
- func (mover AxisMover) GetObjectsEndTime(object objects.IHitObject) float64
- func (mover AxisMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
- func (mover AxisMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
- func (mover AxisMover) GetObjectsStartTime(object objects.IHitObject) float64
- func (mover AxisMover) GetStartTime() float64
- func (mover AxisMover) Reset(diff *difficulty.Difficulty, id int)
- func (mover *AxisMover) SetObjects(objs []objects.IHitObject) int
- func (mover AxisMover) Update(time float64) vector.Vector2f
- type BezierMover
- func (mover BezierMover) GetEndTime() float64
- func (mover BezierMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
- func (mover BezierMover) GetObjectsEndTime(object objects.IHitObject) float64
- func (mover BezierMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
- func (mover BezierMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
- func (mover BezierMover) GetObjectsStartTime(object objects.IHitObject) float64
- func (mover BezierMover) GetStartTime() float64
- func (mover *BezierMover) Reset(diff *difficulty.Difficulty, id int)
- func (mover *BezierMover) SetObjects(objs []objects.IHitObject) int
- func (mover *BezierMover) Update(time float64) vector.Vector2f
- type ExGonMover
- func (mover ExGonMover) GetEndTime() float64
- func (mover ExGonMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
- func (mover ExGonMover) GetObjectsEndTime(object objects.IHitObject) float64
- func (mover ExGonMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
- func (mover ExGonMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
- func (mover ExGonMover) GetObjectsStartTime(object objects.IHitObject) float64
- func (mover ExGonMover) GetStartTime() float64
- func (mover *ExGonMover) Reset(diff *difficulty.Difficulty, id int)
- func (mover *ExGonMover) SetObjects(objs []objects.IHitObject) int
- func (mover *ExGonMover) Update(time float64) vector.Vector2f
- type HalfCircleMover
- func (mover HalfCircleMover) GetEndTime() float64
- func (mover HalfCircleMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
- func (mover HalfCircleMover) GetObjectsEndTime(object objects.IHitObject) float64
- func (mover HalfCircleMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
- func (mover HalfCircleMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
- func (mover HalfCircleMover) GetObjectsStartTime(object objects.IHitObject) float64
- func (mover HalfCircleMover) GetStartTime() float64
- func (mover *HalfCircleMover) Reset(diff *difficulty.Difficulty, id int)
- func (mover *HalfCircleMover) SetObjects(objs []objects.IHitObject) int
- func (mover *HalfCircleMover) Update(time float64) vector.Vector2f
- type LinearMover
- func (mover LinearMover) GetEndTime() float64
- func (mover LinearMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
- func (mover LinearMover) GetObjectsEndTime(object objects.IHitObject) float64
- func (mover *LinearMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
- func (mover LinearMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
- func (mover LinearMover) GetObjectsStartTime(object objects.IHitObject) float64
- func (mover LinearMover) GetStartTime() float64
- func (mover LinearMover) Reset(diff *difficulty.Difficulty, id int)
- func (mover *LinearMover) SetObjects(objs []objects.IHitObject) int
- func (mover *LinearMover) Update(time float64) vector.Vector2f
- type MomentumMover
- func (mover MomentumMover) GetEndTime() float64
- func (mover MomentumMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
- func (mover MomentumMover) GetObjectsEndTime(object objects.IHitObject) float64
- func (mover MomentumMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
- func (mover MomentumMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
- func (mover MomentumMover) GetObjectsStartTime(object objects.IHitObject) float64
- func (mover MomentumMover) GetStartTime() float64
- func (mover *MomentumMover) Reset(diff *difficulty.Difficulty, id int)
- func (mover *MomentumMover) SetObjects(objs []objects.IHitObject) int
- func (mover *MomentumMover) Update(time float64) vector.Vector2f
- type MultiPointMover
- func GetMoverByName(name string) MultiPointMover
- func NewAggressiveMover() MultiPointMover
- func NewAngleOffsetMover() MultiPointMover
- func NewAxisMover() MultiPointMover
- func NewBezierMover() MultiPointMover
- func NewExGonMover() MultiPointMover
- func NewHalfCircleMover() MultiPointMover
- func NewLinearMover() MultiPointMover
- func NewLinearMoverSimple() MultiPointMover
- func NewMomentumMover() MultiPointMover
- func NewPippiMover() MultiPointMover
- func NewSplineMover() MultiPointMover
- type PippiMover
- func (mover PippiMover) GetEndTime() float64
- func (mover PippiMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
- func (mover PippiMover) GetObjectsEndTime(object objects.IHitObject) float64
- func (mover *PippiMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
- func (mover PippiMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
- func (mover PippiMover) GetObjectsStartTime(object objects.IHitObject) float64
- func (mover PippiMover) GetStartTime() float64
- func (mover PippiMover) Reset(diff *difficulty.Difficulty, id int)
- func (mover *PippiMover) SetObjects(objs []objects.IHitObject) int
- func (mover *PippiMover) Update(time float64) vector.Vector2f
- type SplineMover
- func (mover SplineMover) GetEndTime() float64
- func (mover SplineMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
- func (mover SplineMover) GetObjectsEndTime(object objects.IHitObject) float64
- func (mover SplineMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
- func (mover SplineMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
- func (mover SplineMover) GetObjectsStartTime(object objects.IHitObject) float64
- func (mover SplineMover) GetStartTime() float64
- func (mover SplineMover) Reset(diff *difficulty.Difficulty, id int)
- func (mover *SplineMover) SetObjects(objs []objects.IHitObject) int
- func (mover *SplineMover) Update(time float64) vector.Vector2f
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMoverCtorByName ¶
func GetMoverCtorByName(name string) (moverCtor func() MultiPointMover, finalName string)
Types ¶
type AggressiveMover ¶
type AggressiveMover struct {
// contains filtered or unexported fields
}
func (AggressiveMover) GetEndTime ¶
func (mover AggressiveMover) GetEndTime() float64
func (AggressiveMover) GetObjectsEndPosition ¶
func (mover AggressiveMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
func (AggressiveMover) GetObjectsEndTime ¶
func (mover AggressiveMover) GetObjectsEndTime(object objects.IHitObject) float64
func (AggressiveMover) GetObjectsPosition ¶
func (mover AggressiveMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
func (AggressiveMover) GetObjectsStartPosition ¶
func (mover AggressiveMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
func (AggressiveMover) GetObjectsStartTime ¶
func (mover AggressiveMover) GetObjectsStartTime(object objects.IHitObject) float64
func (AggressiveMover) GetStartTime ¶
func (mover AggressiveMover) GetStartTime() float64
func (*AggressiveMover) Reset ¶
func (mover *AggressiveMover) Reset(diff *difficulty.Difficulty, id int)
func (*AggressiveMover) SetObjects ¶
func (mover *AggressiveMover) SetObjects(objs []objects.IHitObject) int
type AngleOffsetMover ¶
type AngleOffsetMover struct {
// contains filtered or unexported fields
}
func (AngleOffsetMover) GetEndTime ¶
func (mover AngleOffsetMover) GetEndTime() float64
func (AngleOffsetMover) GetObjectsEndPosition ¶
func (mover AngleOffsetMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
func (AngleOffsetMover) GetObjectsEndTime ¶
func (mover AngleOffsetMover) GetObjectsEndTime(object objects.IHitObject) float64
func (AngleOffsetMover) GetObjectsPosition ¶
func (mover AngleOffsetMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
func (AngleOffsetMover) GetObjectsStartPosition ¶
func (mover AngleOffsetMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
func (AngleOffsetMover) GetObjectsStartTime ¶
func (mover AngleOffsetMover) GetObjectsStartTime(object objects.IHitObject) float64
func (AngleOffsetMover) GetStartTime ¶
func (mover AngleOffsetMover) GetStartTime() float64
func (*AngleOffsetMover) Reset ¶
func (mover *AngleOffsetMover) Reset(diff *difficulty.Difficulty, id int)
func (*AngleOffsetMover) SetObjects ¶
func (mover *AngleOffsetMover) SetObjects(objs []objects.IHitObject) int
type AxisMover ¶
type AxisMover struct {
// contains filtered or unexported fields
}
func (AxisMover) GetEndTime ¶
func (mover AxisMover) GetEndTime() float64
func (AxisMover) GetObjectsEndPosition ¶
func (mover AxisMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
func (AxisMover) GetObjectsEndTime ¶
func (mover AxisMover) GetObjectsEndTime(object objects.IHitObject) float64
func (AxisMover) GetObjectsPosition ¶
func (mover AxisMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
func (AxisMover) GetObjectsStartPosition ¶
func (mover AxisMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
func (AxisMover) GetObjectsStartTime ¶
func (mover AxisMover) GetObjectsStartTime(object objects.IHitObject) float64
func (AxisMover) GetStartTime ¶
func (mover AxisMover) GetStartTime() float64
func (AxisMover) Reset ¶
func (mover AxisMover) Reset(diff *difficulty.Difficulty, id int)
func (*AxisMover) SetObjects ¶
func (mover *AxisMover) SetObjects(objs []objects.IHitObject) int
type BezierMover ¶
type BezierMover struct {
// contains filtered or unexported fields
}
func (BezierMover) GetEndTime ¶
func (mover BezierMover) GetEndTime() float64
func (BezierMover) GetObjectsEndPosition ¶
func (mover BezierMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
func (BezierMover) GetObjectsEndTime ¶
func (mover BezierMover) GetObjectsEndTime(object objects.IHitObject) float64
func (BezierMover) GetObjectsPosition ¶
func (mover BezierMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
func (BezierMover) GetObjectsStartPosition ¶
func (mover BezierMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
func (BezierMover) GetObjectsStartTime ¶
func (mover BezierMover) GetObjectsStartTime(object objects.IHitObject) float64
func (BezierMover) GetStartTime ¶
func (mover BezierMover) GetStartTime() float64
func (*BezierMover) Reset ¶
func (mover *BezierMover) Reset(diff *difficulty.Difficulty, id int)
func (*BezierMover) SetObjects ¶
func (mover *BezierMover) SetObjects(objs []objects.IHitObject) int
type ExGonMover ¶
type ExGonMover struct {
// contains filtered or unexported fields
}
func (ExGonMover) GetEndTime ¶
func (mover ExGonMover) GetEndTime() float64
func (ExGonMover) GetObjectsEndPosition ¶
func (mover ExGonMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
func (ExGonMover) GetObjectsEndTime ¶
func (mover ExGonMover) GetObjectsEndTime(object objects.IHitObject) float64
func (ExGonMover) GetObjectsPosition ¶
func (mover ExGonMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
func (ExGonMover) GetObjectsStartPosition ¶
func (mover ExGonMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
func (ExGonMover) GetObjectsStartTime ¶
func (mover ExGonMover) GetObjectsStartTime(object objects.IHitObject) float64
func (ExGonMover) GetStartTime ¶
func (mover ExGonMover) GetStartTime() float64
func (*ExGonMover) Reset ¶
func (mover *ExGonMover) Reset(diff *difficulty.Difficulty, id int)
func (*ExGonMover) SetObjects ¶
func (mover *ExGonMover) SetObjects(objs []objects.IHitObject) int
type HalfCircleMover ¶
type HalfCircleMover struct {
// contains filtered or unexported fields
}
func (HalfCircleMover) GetEndTime ¶
func (mover HalfCircleMover) GetEndTime() float64
func (HalfCircleMover) GetObjectsEndPosition ¶
func (mover HalfCircleMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
func (HalfCircleMover) GetObjectsEndTime ¶
func (mover HalfCircleMover) GetObjectsEndTime(object objects.IHitObject) float64
func (HalfCircleMover) GetObjectsPosition ¶
func (mover HalfCircleMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
func (HalfCircleMover) GetObjectsStartPosition ¶
func (mover HalfCircleMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
func (HalfCircleMover) GetObjectsStartTime ¶
func (mover HalfCircleMover) GetObjectsStartTime(object objects.IHitObject) float64
func (HalfCircleMover) GetStartTime ¶
func (mover HalfCircleMover) GetStartTime() float64
func (*HalfCircleMover) Reset ¶
func (mover *HalfCircleMover) Reset(diff *difficulty.Difficulty, id int)
func (*HalfCircleMover) SetObjects ¶
func (mover *HalfCircleMover) SetObjects(objs []objects.IHitObject) int
type LinearMover ¶
type LinearMover struct {
// contains filtered or unexported fields
}
func (LinearMover) GetEndTime ¶
func (mover LinearMover) GetEndTime() float64
func (LinearMover) GetObjectsEndPosition ¶
func (mover LinearMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
func (LinearMover) GetObjectsEndTime ¶
func (mover LinearMover) GetObjectsEndTime(object objects.IHitObject) float64
func (*LinearMover) GetObjectsPosition ¶
func (mover *LinearMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
func (LinearMover) GetObjectsStartPosition ¶
func (mover LinearMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
func (LinearMover) GetObjectsStartTime ¶
func (mover LinearMover) GetObjectsStartTime(object objects.IHitObject) float64
func (LinearMover) GetStartTime ¶
func (mover LinearMover) GetStartTime() float64
func (LinearMover) Reset ¶
func (mover LinearMover) Reset(diff *difficulty.Difficulty, id int)
func (*LinearMover) SetObjects ¶
func (mover *LinearMover) SetObjects(objs []objects.IHitObject) int
type MomentumMover ¶
type MomentumMover struct {
// contains filtered or unexported fields
}
func (MomentumMover) GetEndTime ¶
func (mover MomentumMover) GetEndTime() float64
func (MomentumMover) GetObjectsEndPosition ¶
func (mover MomentumMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
func (MomentumMover) GetObjectsEndTime ¶
func (mover MomentumMover) GetObjectsEndTime(object objects.IHitObject) float64
func (MomentumMover) GetObjectsPosition ¶
func (mover MomentumMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
func (MomentumMover) GetObjectsStartPosition ¶
func (mover MomentumMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
func (MomentumMover) GetObjectsStartTime ¶
func (mover MomentumMover) GetObjectsStartTime(object objects.IHitObject) float64
func (MomentumMover) GetStartTime ¶
func (mover MomentumMover) GetStartTime() float64
func (*MomentumMover) Reset ¶
func (mover *MomentumMover) Reset(diff *difficulty.Difficulty, id int)
func (*MomentumMover) SetObjects ¶
func (mover *MomentumMover) SetObjects(objs []objects.IHitObject) int
type MultiPointMover ¶
type MultiPointMover interface { Reset(diff *difficulty.Difficulty, id int) SetObjects(objs []objects.IHitObject) int Update(time float64) vector.Vector2f GetObjectsStartTime(object objects.IHitObject) float64 GetObjectsEndTime(object objects.IHitObject) float64 GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f GetStartTime() float64 GetEndTime() float64 }
func GetMoverByName ¶
func GetMoverByName(name string) MultiPointMover
func NewAggressiveMover ¶
func NewAggressiveMover() MultiPointMover
func NewAngleOffsetMover ¶
func NewAngleOffsetMover() MultiPointMover
func NewAxisMover ¶
func NewAxisMover() MultiPointMover
func NewBezierMover ¶
func NewBezierMover() MultiPointMover
func NewExGonMover ¶
func NewExGonMover() MultiPointMover
func NewHalfCircleMover ¶
func NewHalfCircleMover() MultiPointMover
func NewLinearMover ¶
func NewLinearMover() MultiPointMover
func NewLinearMoverSimple ¶
func NewLinearMoverSimple() MultiPointMover
func NewMomentumMover ¶
func NewMomentumMover() MultiPointMover
func NewPippiMover ¶
func NewPippiMover() MultiPointMover
func NewSplineMover ¶
func NewSplineMover() MultiPointMover
type PippiMover ¶
type PippiMover struct {
// contains filtered or unexported fields
}
func (PippiMover) GetEndTime ¶
func (mover PippiMover) GetEndTime() float64
func (PippiMover) GetObjectsEndPosition ¶
func (mover PippiMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
func (PippiMover) GetObjectsEndTime ¶
func (mover PippiMover) GetObjectsEndTime(object objects.IHitObject) float64
func (*PippiMover) GetObjectsPosition ¶
func (mover *PippiMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
func (PippiMover) GetObjectsStartPosition ¶
func (mover PippiMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
func (PippiMover) GetObjectsStartTime ¶
func (mover PippiMover) GetObjectsStartTime(object objects.IHitObject) float64
func (PippiMover) GetStartTime ¶
func (mover PippiMover) GetStartTime() float64
func (PippiMover) Reset ¶
func (mover PippiMover) Reset(diff *difficulty.Difficulty, id int)
func (*PippiMover) SetObjects ¶
func (mover *PippiMover) SetObjects(objs []objects.IHitObject) int
type SplineMover ¶
type SplineMover struct {
// contains filtered or unexported fields
}
func (SplineMover) GetEndTime ¶
func (mover SplineMover) GetEndTime() float64
func (SplineMover) GetObjectsEndPosition ¶
func (mover SplineMover) GetObjectsEndPosition(object objects.IHitObject) vector.Vector2f
func (SplineMover) GetObjectsEndTime ¶
func (mover SplineMover) GetObjectsEndTime(object objects.IHitObject) float64
func (SplineMover) GetObjectsPosition ¶
func (mover SplineMover) GetObjectsPosition(time float64, object objects.IHitObject) vector.Vector2f
func (SplineMover) GetObjectsStartPosition ¶
func (mover SplineMover) GetObjectsStartPosition(object objects.IHitObject) vector.Vector2f
func (SplineMover) GetObjectsStartTime ¶
func (mover SplineMover) GetObjectsStartTime(object objects.IHitObject) float64
func (SplineMover) GetStartTime ¶
func (mover SplineMover) GetStartTime() float64
func (SplineMover) Reset ¶
func (mover SplineMover) Reset(diff *difficulty.Difficulty, id int)
func (*SplineMover) SetObjects ¶
func (mover *SplineMover) SetObjects(objs []objects.IHitObject) int
Click to show internal directories.
Click to hide internal directories.