private VirtualKeyCode ResolvePlayerBackwardInput(int player) { if (player == 1) { return((_sf4m.GetP1PosX() < _sf4m.GetP2PosX()) ? Get(Input.Left, player) : Get(Input.Right, player)); } else { return((_sf4m.GetP1PosX() > _sf4m.GetP2PosX()) ? Get(Input.Left, player) : Get(Input.Right, player)); } }
public bool IsPlayerOnLeft() { return(sf4m.GetP1PosX() < sf4m.GetP2PosX()); }