public enum CharacterState { Idle = 0, Walking = 1, Trotting = 2, Running = 3, Jumping = 4 }