java.io.Serializable
public final class PassengerUnit
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
static PassengerUnit |
from(SC2APIProtocol.Raw.PassengerUnit sc2ApiPassengerUnit) |
|
java.util.Optional<java.lang.Float> |
getEnergy() |
|
java.util.Optional<java.lang.Float> |
getEnergyMax() |
|
float |
getHealth() |
|
float |
getHealthMax() |
|
java.util.Optional<java.lang.Float> |
getShield() |
|
java.util.Optional<java.lang.Float> |
getShieldMax() |
|
Tag |
getTag() |
|
UnitType |
getType() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
public static PassengerUnit from(SC2APIProtocol.Raw.PassengerUnit sc2ApiPassengerUnit)
public Tag getTag()
public float getHealth()
public float getHealthMax()
public java.util.Optional<java.lang.Float> getShield()
public java.util.Optional<java.lang.Float> getShieldMax()
public java.util.Optional<java.lang.Float> getEnergy()
public java.util.Optional<java.lang.Float> getEnergyMax()
public UnitType getType()
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.