RaposoTKD

Untitled

May 24th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.79 KB | None | 0 0
  1. public class PlayerInputInfo {
  2.     public int player_id;
  3.     public int joy_id;
  4.     public string horizontal;
  5.     public string vertical;
  6.     public string jump;
  7.     public string punch;
  8.     public string secondary;
  9.     public string special;
  10.     public string start;
  11.     public string submit;
  12.  
  13.     public void set_inputs(int player_id, int joy_id) {
  14.         this.player_id = player_id;
  15.         this.joy_id = joy_id;
  16.  
  17.         horizontal = "Horizontal_Joy" + joy_id;
  18.         vertical   = "Vertical_Joy" + joy_id;
  19.         jump       = "Jump_Joy" + joy_id;
  20.         punch      = "Punch_Joy" + joy_id;
  21.         secondary      = "Block_Joy" + joy_id;
  22.         special    = "Special_Joy" + joy_id;
  23.         start      = "Start_Joy" + joy_id;
  24.         submit     = "Submit_Joy" + joy_id;
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment