public override void Update() { base.Update(); AdvanceFrameMessage frameMessage = new AdvanceFrameMessage(); frameMessage.Actions = myPlayerInfo.myMappedActions.GetActiveActions().ToList(); frameMessage.PlayerIndex = myPlayerInfo.myPlayerIndex; frameMessage.FrameIndex = myElapsedFrames - 1; NetPoster.Instance.PostMessage(frameMessage); }
private void OnFrameMessageReceived(AdvanceFrameMessage aMessage) { myLastAdvancedFrame = aMessage; base.Update(); }