Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PlayerInputInfo {
- public int player_id;
- public int joy_id;
- public string horizontal;
- public string vertical;
- public string jump;
- public string punch;
- public string secondary;
- public string special;
- public string start;
- public string submit;
- public void set_inputs(int player_id, int joy_id) {
- this.player_id = player_id;
- this.joy_id = joy_id;
- horizontal = "Horizontal_Joy" + joy_id;
- vertical = "Vertical_Joy" + joy_id;
- jump = "Jump_Joy" + joy_id;
- punch = "Punch_Joy" + joy_id;
- secondary = "Block_Joy" + joy_id;
- special = "Special_Joy" + joy_id;
- start = "Start_Joy" + joy_id;
- submit = "Submit_Joy" + joy_id;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment