cruisin_asu.Helpers.Controller.Update C# (CSharp) Method

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void
        public void Update(GameTime gameTime)
        {
            switch (controllerType) {
                case ControllerType.PC:
                    this.KeyboardUpdate();
                    break;
                case ControllerType.PC2:
                    this.KeyboardUpdate();
                    break;
                case ControllerType.SilverLight:
                    throw new NotImplementedException();
                    //TODO: Implement Silverlight specific controls
                    break;
                case ControllerType.Xbox360:
                    this.Xbox360Update();
                    break;
            }
        }