RuneHive-Game
Loading...
Searching...
No Matches
com.runehive.content.gambling.Gamble Class Referenceabstract
Inheritance diagram for com.runehive.content.gambling.Gamble:
Collaboration diagram for com.runehive.content.gambling.Gamble:

Public Member Functions

 Gamble (Player host, Player opponent)
abstract void gamble ()
Player getHost ()
Player getOpponent ()

Public Attributes

int hostScore
 Score betwen the players inside the 'gamble'.
int opponentScore

Private Attributes

Player host
 Players inside the 'gamble'.
Player opponent

Detailed Description

Definition at line 5 of file Gamble.java.

Constructor & Destructor Documentation

◆ Gamble()

com.runehive.content.gambling.Gamble.Gamble ( Player host,
Player opponent )

Definition at line 25 of file Gamble.java.

25 {
26 this.host = host;
27 this.opponent = opponent;
28 }

References host, and opponent.

Member Function Documentation

◆ gamble()

abstract void com.runehive.content.gambling.Gamble.gamble ( )
abstract

Reimplemented in com.runehive.content.gambling.impl.FiftyFive, and com.runehive.content.gambling.impl.FlowerPoker.

Referenced by com.runehive.content.gambling.GambleManager.finish(), com.runehive.content.gambling.GambleManager.give(), and com.runehive.content.gambling.GambleManager.start().

Here is the caller graph for this function:

◆ getHost()

Player com.runehive.content.gambling.Gamble.getHost ( )

Definition at line 12 of file Gamble.java.

12 {
13 return host;
14 }

References host.

Referenced by com.runehive.content.gambling.GambleManager.finish(), com.runehive.content.gambling.impl.FiftyFive.gamble(), com.runehive.content.gambling.impl.FlowerPoker.gamble(), com.runehive.content.gambling.impl.FlowerPoker.plant(), and com.runehive.content.gambling.GambleManager.start().

Here is the caller graph for this function:

◆ getOpponent()

Player com.runehive.content.gambling.Gamble.getOpponent ( )

Definition at line 16 of file Gamble.java.

16 {
17 return opponent;
18 }

References opponent.

Referenced by com.runehive.content.gambling.impl.FiftyFive.gamble(), com.runehive.content.gambling.impl.FlowerPoker.gamble(), and com.runehive.content.gambling.impl.FlowerPoker.plant().

Here is the caller graph for this function:

Member Data Documentation

◆ host

Player com.runehive.content.gambling.Gamble.host
private

◆ hostScore

int com.runehive.content.gambling.Gamble.hostScore

Score betwen the players inside the 'gamble'.

Definition at line 23 of file Gamble.java.

Referenced by com.runehive.content.gambling.impl.FiftyFive.gamble().

◆ opponent

Player com.runehive.content.gambling.Gamble.opponent
private

◆ opponentScore

int com.runehive.content.gambling.Gamble.opponentScore

Definition at line 23 of file Gamble.java.

Referenced by com.runehive.content.gambling.impl.FiftyFive.gamble().


The documentation for this class was generated from the following file: