Table of Contents

Class BounceMotion

Namespace
TrinketTinker.Companions.Motions
Assembly
TrinketTinker.dll

Companion follows the player and bobs up and down

public sealed class BounceMotion : BaseLerpMotion<BounceArgs>, IMotion
Inheritance
BounceMotion
Implements
Inherited Members

Constructors

BounceMotion(TrinketTinkerCompanion, MotionData, VariantData)

Companion follows the player and bobs up and down

public BounceMotion(TrinketTinkerCompanion companion, MotionData mdata, VariantData vdata)

Parameters

companion TrinketTinkerCompanion
mdata MotionData
vdata VariantData

Methods

GetOffset()

Get offset

public override Vector2 GetOffset()

Returns

Vector2

GetShadowScale()

Get shadow draw scale.

protected override Vector2 GetShadowScale()

Returns

Vector2

GetTextureScale()

Get texture draw scale.

protected override Vector2 GetTextureScale()

Returns

Vector2

UpdateGlobal(GameTime, GameLocation)

Update info that should change every tick, for all game instances in multiplayer.

public override void UpdateGlobal(GameTime time, GameLocation location)

Parameters

time GameTime
location GameLocation