Exemplo n.º 1
0
 private DirectionalState(Vector2 direction, Vector2 movement, TimedButtonState up, TimedButtonState down, TimedButtonState left, TimedButtonState right)
 {
     this.Direction = direction;
     this.Movement  = movement;
     this.Up        = up;
     this.Down      = down;
     this.Left      = left;
     this.Right     = right;
 }
Exemplo n.º 2
0
 private ThumbstickState(Vector2 position, Vector2 movement, TimedButtonState clicked, TimedButtonState up, TimedButtonState down, TimedButtonState left, TimedButtonState right)
 {
     this.Position = position;
     this.Movement = movement;
     this.Clicked  = clicked;
     this.Up       = up;
     this.Down     = down;
     this.Left     = left;
     this.Right    = right;
 }