Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int player1hp;
- public int player2hp;
- public int something;
- public int Player
- {
- get {
- if (something == 1)
- return player1hp;
- else
- return player2hp;
- }
- set
- {
- if (something == 1)
- player1hp=value;
- else
- player2hp=value;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement