Package zombie.vehicles
Class VehicleWindow
java.lang.Object
zombie.vehicles.VehicleWindow
public final class VehicleWindow
extends java.lang.Object
-
Field Summary
-
Method Summary
Modifier and Type Method Description voiddamage(int int1)intgetHealth()floatgetOpenDelta()voidhit(IsoGameCharacter gameCharacter)voidinit(VehicleScript.Window window)booleanisDestroyed()booleanisHittable()booleanisOpen()booleanisOpenable()voidload(java.nio.ByteBuffer byteBuffer, int int1)voidsave(java.nio.ByteBuffer byteBuffer)voidsetHealth(int int1)voidsetOpen(boolean boolean1)voidsetOpenDelta(float float1)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
part
-
health
protected int health -
openable
protected boolean openable -
open
protected boolean open -
openDelta
protected float openDelta
-
-
Method Details
-
init
-
getHealth
public int getHealth() -
setHealth
public void setHealth(int int1) -
isDestroyed
public boolean isDestroyed() -
isOpenable
public boolean isOpenable() -
isOpen
public boolean isOpen() -
setOpen
public void setOpen(boolean boolean1) -
setOpenDelta
public void setOpenDelta(float float1) -
getOpenDelta
public float getOpenDelta() -
isHittable
public boolean isHittable() -
hit
-
damage
public void damage(int int1) -
save
public void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException- Throws:
java.io.IOException
-