Package zombie.vehicles
Class VehicleWindow
java.lang.Object
zombie.vehicles.VehicleWindow
public class VehicleWindow
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected int
health
protected boolean
open
protected boolean
openable
protected VehiclePart
part
-
Method Summary
Modifier and Type Method Description void
damage(int int1)
int
getHealth()
void
hit(IsoGameCharacter gameCharacter)
void
init(VehicleScript.Window window)
boolean
isDestroyed()
boolean
isHittable()
boolean
isOpen()
boolean
isOpenable()
void
load(java.nio.ByteBuffer byteBuffer, int int1)
void
save(java.nio.ByteBuffer byteBuffer)
void
setHealth(int int1)
void
setOpen(boolean boolean1)
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
-
-
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) -
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
-