RuneHive-Game
Loading...
Searching...
No Matches
Gamble.java
Go to the documentation of this file.
1package com.runehive.content.gambling;
2
3import com.runehive.game.world.entity.mob.player.Player;
4
5public abstract class Gamble {
6
7 /**
8 * Players inside the 'gamble'
9 */
11
12 public Player getHost() {
13 return host;
14 }
15
17 return opponent;
18 }
19
20 /**
21 * Score betwen the players inside the 'gamble'
22 */
24
26 this.host = host;
27 this.opponent = opponent;
28 }
29
30 public abstract void gamble();
31
32}
int hostScore
Score betwen the players inside the 'gamble'.
Definition Gamble.java:23
Gamble(Player host, Player opponent)
Definition Gamble.java:25
Player host
Players inside the 'gamble'.
Definition Gamble.java:10
This class represents a character controlled by a player.
Definition Player.java:125