movers

package
v0.0.0-...-50c553c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AngleOffsetMover

type AngleOffsetMover struct {
	// contains filtered or unexported fields
}

func (*AngleOffsetMover) GetEndTime

func (bm *AngleOffsetMover) GetEndTime() int64

func (*AngleOffsetMover) Reset

func (bm *AngleOffsetMover) Reset()

func (*AngleOffsetMover) SetObjects

func (bm *AngleOffsetMover) SetObjects(objs []objects.BaseObject)

func (*AngleOffsetMover) Update

func (bm *AngleOffsetMover) Update(time int64) bmath.Vector2d

type AxisMover

type AxisMover struct {
	// contains filtered or unexported fields
}

func (*AxisMover) GetEndTime

func (bm *AxisMover) GetEndTime() int64

func (*AxisMover) Reset

func (bm *AxisMover) Reset()

func (*AxisMover) SetObjects

func (bm *AxisMover) SetObjects(objs []objects.BaseObject)

func (AxisMover) Update

func (bm AxisMover) Update(time int64) bmath.Vector2d

type BezierMover

type BezierMover struct {
	// contains filtered or unexported fields
}

func (*BezierMover) GetEndTime

func (bm *BezierMover) GetEndTime() int64

func (*BezierMover) Reset

func (bm *BezierMover) Reset()

func (*BezierMover) SetObjects

func (bm *BezierMover) SetObjects(objs []objects.BaseObject)

func (*BezierMover) Update

func (bm *BezierMover) Update(time int64) bmath.Vector2d

type HalfCircleMover

type HalfCircleMover struct {
	// contains filtered or unexported fields
}

func (*HalfCircleMover) GetEndTime

func (bm *HalfCircleMover) GetEndTime() int64

func (*HalfCircleMover) Reset

func (bm *HalfCircleMover) Reset()

func (*HalfCircleMover) SetObjects

func (bm *HalfCircleMover) SetObjects(objs []objects.BaseObject)

func (*HalfCircleMover) Update

func (bm *HalfCircleMover) Update(time int64) bmath.Vector2d

type LinearMover

type LinearMover struct {
	// contains filtered or unexported fields
}

func (*LinearMover) GetEndTime

func (bm *LinearMover) GetEndTime() int64

func (*LinearMover) Reset

func (bm *LinearMover) Reset()

func (*LinearMover) SetObjects

func (bm *LinearMover) SetObjects(objs []objects.BaseObject)

func (LinearMover) Update

func (bm LinearMover) Update(time int64) bmath.Vector2d

type MultiPointMover

type MultiPointMover interface {
	Reset()
	SetObjects(objs []objects.BaseObject)
	Update(time int64) bmath.Vector2d
	GetEndTime() int64
}

func NewAngleOffsetMover

func NewAngleOffsetMover() MultiPointMover

func NewAxisMover

func NewAxisMover() MultiPointMover

func NewBezierMover

func NewBezierMover() MultiPointMover

func NewHalfCircleMover

func NewHalfCircleMover() MultiPointMover

func NewLinearMover

func NewLinearMover() MultiPointMover

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL