java.io.Serializable
public final class Weapon
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class | Description |
---|---|---|
static class |
Weapon.TargetType |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
static Weapon |
from(SC2APIProtocol.Data.Weapon sc2ApiWeapon) |
|
int |
getAttacks() |
|
float |
getDamage() |
|
java.util.Set<DamageBonus> |
getDamageBonuses() |
|
float |
getRange() |
|
float |
getSpeed() |
|
Weapon.TargetType |
getTargetType() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
public static Weapon from(SC2APIProtocol.Data.Weapon sc2ApiWeapon)
public Weapon.TargetType getTargetType()
public float getDamage()
public java.util.Set<DamageBonus> getDamageBonuses()
public int getAttacks()
public float getRange()
public float getSpeed()
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.