Update() public method

public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
return void
Example #1
0
        public override void Update(GameTime time)
        {
            switch (Role)
            {
            case NetworkRole.Client:
                client?.Update(time);
                break;

            case NetworkRole.Server:
                server?.Update(time);
                break;
            }
        }