Package de.chaoswg.model3d
Klasse My1stNPC
java.lang.Object
net.risingworld.api.worldelements.GameObject
de.chaoswg.model3d.My1stNPC
public class My1stNPC
extends net.risingworld.api.worldelements.GameObject
in Arbeit
- Autor:
- nico
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic My1stNPCcreate(net.risingworld.api.objects.Player player, My1stNPC.InterfaceNPC create, My1stNPC.InterfaceNPC spawn, My1stNPC.InterfaceNPC despawn, Runnable timerTask) voiddespawn()net.risingworld.api.objects.PlayergetOwner()net.risingworld.api.TimergetTimer()booleanisGo()booleanbooleanvoidsetDespawn(My1stNPC.InterfaceNPC despawn) voidsetIsOnDespawn(boolean isOnDespawn) voidsetIsOnSpawn(boolean isOnSpawn) voidsetSpawn(My1stNPC.InterfaceNPC spawn) voidspawn()voidstart()voidstop()Von Klasse geerbte Methoden net.risingworld.api.worldelements.GameObject
addChild, addComponent, getChildCount, getChilds, getCollider, getID, getLayer, getLocalPosition, getLocalRotation, getLocalScale, getParent, invokeComponentMethod, isActive, isColliderVisible, isDisposed, moveToLocalPosition, moveToLocalPosition, moveToLocalPosition, moveToLocalPosition, moveToLocalTransform, removeAllChilds, removeChild, removeComponent, removeFromParent, rotateToLocalRotation, setActive, setCollider, setColliderVisible, setComponentEnabled, setComponentProperty, setLayer, setLocalPosition, setLocalPosition, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale
-
Konstruktordetails
-
My1stNPC
public My1stNPC() -
My1stNPC
public My1stNPC(int layer)
-
-
Methodendetails
-
setSpawn
-
setDespawn
-
getTimer
public net.risingworld.api.Timer getTimer() -
getOwner
public net.risingworld.api.objects.Player getOwner() -
isGo
public boolean isGo() -
isOnSpawn
public boolean isOnSpawn() -
setIsOnSpawn
public void setIsOnSpawn(boolean isOnSpawn) -
isOnDespawn
public boolean isOnDespawn() -
setIsOnDespawn
public void setIsOnDespawn(boolean isOnDespawn) -
create
public static My1stNPC create(net.risingworld.api.objects.Player player, My1stNPC.InterfaceNPC create, My1stNPC.InterfaceNPC spawn, My1stNPC.InterfaceNPC despawn, Runnable timerTask) -
spawn
public void spawn() -
despawn
public void despawn() -
stop
public void stop() -
start
public void start()
-