Class HopMotion
- Namespace
- TrinketTinker.Companions.Motions
- Assembly
- TrinketTinker.dll
Companion follows the player and bobs up and down
public sealed class HopMotion : BaseLerpMotion<HopArgs>, IMotion- Inheritance
- 
      
      
      
      HopMotion
- Implements
- Inherited Members
Constructors
HopMotion(TrinketTinkerCompanion, MotionData, VariantData)
Companion follows the player and bobs up and down
public HopMotion(TrinketTinkerCompanion companion, MotionData mdata, VariantData vdata)Parameters
- companionTrinketTinkerCompanion
- mdataMotionData
- vdataVariantData
Methods
GetOffset()
Get offset
public override Vector2 GetOffset()Returns
- Vector2
GetShadowScale()
Get shadow draw scale.
protected override Vector2 GetShadowScale()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
- timeGameTime
- locationGameLocation