java.io.Serializable
public final class PlayerCommon
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
static PlayerCommon |
from(SC2APIProtocol.Sc2Api.PlayerCommon sc2ApiPlayerCommon) |
|
int |
getArmyCount() |
|
int |
getFoodArmy() |
|
int |
getFoodCap() |
|
int |
getFoodUsed() |
|
int |
getFoodWorkers() |
|
int |
getIdleWorkerCount() |
|
java.util.Optional<java.lang.Integer> |
getLarvaCount() |
|
int |
getMinerals() |
|
int |
getPlayerId() |
|
int |
getVespene() |
|
java.util.Optional<java.lang.Integer> |
getWarpGateCount() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
public static PlayerCommon from(SC2APIProtocol.Sc2Api.PlayerCommon sc2ApiPlayerCommon)
public int getPlayerId()
public int getMinerals()
public int getVespene()
public int getFoodCap()
public int getFoodUsed()
public int getFoodArmy()
public int getFoodWorkers()
public int getIdleWorkerCount()
public int getArmyCount()
public java.util.Optional<java.lang.Integer> getWarpGateCount()
public java.util.Optional<java.lang.Integer> getLarvaCount()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017–2018 Ocraft Project. All rights reserved.