Sc2ApiSerializable<java.lang.Integer>
, java.io.Serializable
public final class Observer extends java.lang.Object implements Sc2ApiSerializable<java.lang.Integer>
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
int |
getObservedPlayerId() |
|
int |
hashCode() |
|
static Observer |
of(int observedPlayerId) |
|
java.lang.Integer |
toSc2Api() |
|
java.lang.String |
toString() |
public static Observer of(int observedPlayerId)
public int getObservedPlayerId()
public java.lang.Integer toSc2Api()
toSc2Api
in interface Sc2ApiSerializable<java.lang.Integer>
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.