Class VehicleScript.Part
java.lang.Object
zombie.scripting.objects.VehicleScript.Part
- Enclosing class:
VehicleScript
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanbooleanbooleanbooleangnu.trove.map.hash.THashMap<String, se.krka.kahlua.vm.KahluaTable> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAnimById(String id) floatgetId()getModel(int index) getModelById(String id) intbooleanbooleanvoidsetMechanicRequireKey(boolean mechanicRequireKey) voidsetRepairMechanic(boolean repairMechanic)
-
Field Details
-
id
-
parent
-
itemType
-
container
-
area
-
mechanicArea
-
wheel
-
tables
-
luaFunctions
-
models
-
setAllModelsVisible
public boolean setAllModelsVisible -
door
-
window
-
anims
-
category
-
specificItem
public boolean specificItem -
mechanicRequireKey
public boolean mechanicRequireKey -
repairMechanic
public boolean repairMechanic -
hasLightsRear
public boolean hasLightsRear
-
-
Constructor Details
-
Part
public Part()
-
-
Method Details
-
isMechanicRequireKey
public boolean isMechanicRequireKey() -
setMechanicRequireKey
public void setMechanicRequireKey(boolean mechanicRequireKey) -
isRepairMechanic
public boolean isRepairMechanic() -
setRepairMechanic
public void setRepairMechanic(boolean repairMechanic) -
getId
-
getModelCount
public int getModelCount() -
getModel
-
getDurability
public float getDurability() -
getMechanicArea
-
getAnimById
-
getModelById
-