RuneHive-Game
Loading...
Searching...
No Matches
com.runehive.content.collectionlog.CollectionItem Class Reference

Public Member Functions

 CollectionItem (int item, int amount)
int getAmount ()
int getId ()
void setAmount (int amount)

Private Attributes

int amount
int id

Detailed Description

Definition at line 3 of file CollectionItem.java.

Constructor & Destructor Documentation

◆ CollectionItem()

com.runehive.content.collectionlog.CollectionItem.CollectionItem ( int item,
int amount )

Definition at line 8 of file CollectionItem.java.

8 {
9 this.id = item;
10 this.amount = amount;
11 }

References amount.

Member Function Documentation

◆ getAmount()

int com.runehive.content.collectionlog.CollectionItem.getAmount ( )

Definition at line 17 of file CollectionItem.java.

17 {
18 return this.amount;
19 }

◆ getId()

int com.runehive.content.collectionlog.CollectionItem.getId ( )

Definition at line 13 of file CollectionItem.java.

13 {
14 return this.id;
15 }

◆ setAmount()

void com.runehive.content.collectionlog.CollectionItem.setAmount ( int amount)

Definition at line 21 of file CollectionItem.java.

21 {
22 this.amount = amount;
23 }

References amount.

Member Data Documentation

◆ amount

int com.runehive.content.collectionlog.CollectionItem.amount
private

Definition at line 6 of file CollectionItem.java.

Referenced by CollectionItem(), and setAmount().

◆ id

int com.runehive.content.collectionlog.CollectionItem.id
private

Definition at line 5 of file CollectionItem.java.


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