Added a type to some enums to save memory.

This commit is contained in:
SND\simsmaster_cp 2011-11-30 20:03:39 +00:00
parent e2b90c4e24
commit a54acf8f6f
4 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ using System;
namespace ANX.Framework.Input
{
public enum ButtonState
public enum ButtonState : byte
{
Released,
Pressed

View File

@ -52,7 +52,7 @@ using System;
namespace ANX.Framework.Input
{
public enum GamePadDeadZone
public enum GamePadDeadZone : byte
{
None,
IndependentAxes,

View File

@ -52,7 +52,7 @@ using System;
namespace ANX.Framework.Input
{
public enum GamePadType
public enum GamePadType :short
{
Unknown,
GamePad,

View File

@ -52,7 +52,7 @@ using System;
namespace ANX.Framework.Input
{
public enum Keys
public enum Keys : byte
{
None = 0,
Back = 8,