Ejemplo n.º 1
0
 private void addToPertanyaan(String word, KoordinateKata coordinate)
 {
     if (coordinate.getDirection() == 0)
     {
         //List<String> l = (List<String>)Horizontal[coordinate.getX()];
         //if (l == null) l = new List<String>();
         //l.Add(word);
         Horizontal.Add(coordinate.getX(), word);
     }
     else
     {
         //List<String> l = (List<String>)Vertical[coordinate.getY()];
         //if (l == null) l = new List<String>();
         //l.Add(word);
         Vertical.Add(coordinate.getY(), word);
     }
 }
Ejemplo n.º 2
0
 public VirtualStick Add(int controller, Axes horizontal, Axes vertical, float deadzoneHorizontal = 0f, float deadzoneVertical = 0f)
 {
     Horizontal.Add(controller, horizontal, deadzoneHorizontal);
     Vertical.Add(controller, vertical, deadzoneVertical);
     return(this);
 }
Ejemplo n.º 3
0
 public VirtualStick Add(int controller, Buttons left, Buttons right, Buttons up, Buttons down)
 {
     Horizontal.Add(controller, left, right);
     Vertical.Add(controller, up, down);
     return(this);
 }
Ejemplo n.º 4
0
 public VirtualStick Add(Keys left, Keys right, Keys up, Keys down)
 {
     Horizontal.Add(left, right);
     Vertical.Add(up, down);
     return(this);
 }
Ejemplo n.º 5
0
 public VirtualStick AddRightJoystick(int controller, float deadzoneHorizontal = 0, float deadzoneVertical = 0)
 {
     Horizontal.Add(controller, Axes.RightX, deadzoneHorizontal);
     Vertical.Add(controller, Axes.RightY, deadzoneVertical);
     return(this);
 }