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