public class RoomSize
extends java.lang.Object
Constructor and Description |
---|
RoomSize(int userCount,
int spectatorCount) |
Modifier and Type | Method and Description |
---|---|
int |
getSpectatorCount()
Get the number of Spectators
|
int |
getTotalUsers()
Returns the sum of Users and Spectators
|
int |
getUserCount()
Get the number of Users/Players in the Room
|
java.lang.String |
toString() |
public int getUserCount()
public int getSpectatorCount()
public int getTotalUsers()
public java.lang.String toString()
toString
in class java.lang.Object