public void Read(ManeuverType maneuverType, int startTick, QWEASD qweasd, MovementOptions movementOptions) { base.ManeuverType = maneuverType; this.startTick = new Tick(startTick); this.qweasd = qweasd; options = movementOptions; }
public override MovementFrame NextFrame(Tick tick, MovementFrame prevFrame) { if (!prevFrame.valid) { return(MovementFrame.Invalid); } if (qweasd == null) { qweasd = new QWEASD(); } return(Simulation.QWEASD(prevFrame, qweasd.Pitch, qweasd.Yaw, qweasd.Roll, options)); }