public override IAwaitable TestExecute(IServices services) { FieldObject currentObject = ServiceId.Field[services].Engine.CurrentObject; currentObject.Model.SetDirection(Degrees.FromAngle256(_angle.Int32(services))); return(DummyAwaitable.Instance); }
public override IAwaitable TestExecute(IServices services) { var currentObject = ServiceId.Field[services].Engine.CurrentObject; var degrees = Degrees.FromAngle256(_angle.Int32(services)); var frameDuration = _frameDuration.Int32(services); currentObject.Model.Rotate(-degrees, frameDuration); return(DummyAwaitable.Instance); }