Package org.rspeer.game.adapter.scene
Class Player
- java.lang.Object
-
- org.rspeer.game.adapter.Adapter<P>
-
- org.rspeer.game.adapter.scene.Entity<P>
-
- org.rspeer.game.adapter.scene.PathingEntity<RSPlayer>
-
- org.rspeer.game.adapter.scene.Player
-
- All Implemented Interfaces:
Actionable
,Animable
,Identifiable
,Interactable
,Mobile
,Nameable
,SceneNode
public final class Player extends PathingEntity<RSPlayer>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Player.Appearance
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Actionable
Actionable.Query<Q extends Actionable.Query<Q>>
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Animable
Animable.Query<Q extends Animable.Query<Q>>
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Identifiable
Identifiable.Query<Q extends Identifiable.Query<Q>>
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Mobile
Mobile.Query<Q extends Mobile.Query<Q>>
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Nameable
Nameable.Query<Q extends Nameable.Query<Q>>
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.SceneNode
SceneNode.Query<Q extends SceneNode.Query<Q>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlayerAction
actionOf(String action)
List<String>
getActions()
Player.Appearance
getAppearance()
int
getCombatLevel()
int
getId()
String
getName()
String[]
getRawActions()
-
Methods inherited from class org.rspeer.game.adapter.scene.PathingEntity
equals, getAnimation, getDirection, getEffect, getEffects, getHealthBar, getHealthPercent, getIndex, getLastHitsplatTick, getLastHitsplatTick, getMatrixId, getModel, getModelPosition, getOrientation, getOverheadText, getPosition, getPreciseDirection, getPreciseOrientation, getServerPosition, getStance, getStanceId, getTarget, getTargetIndex, isDying, isHealthBarVisible, isMoving
-
Methods inherited from class org.rspeer.game.adapter.Adapter
getProvider, validate
-
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.rspeer.game.adapter.type.Actionable
containsAction, containsAction
-
Methods inherited from interface org.rspeer.game.adapter.type.Animable
getAnimationId, isAnimating, isIdle
-
Methods inherited from interface org.rspeer.game.adapter.type.Interactable
actionOf, interact, interact, interact, interact, interact
-
Methods inherited from interface org.rspeer.game.adapter.type.SceneNode
distance, distance, distance, distance, getArea, getEntityPositionHeight, getEntityPositionWidth, getFloorLevel, getX, getY, isInFieldOfViewOf, isInFieldOfViewOf
-
-
-
-
Constructor Detail
-
Player
public Player(RSPlayer provider, int index)
-
-
Method Detail
-
actionOf
public PlayerAction actionOf(String action)
-
getId
public int getId()
-
getRawActions
public String[] getRawActions()
-
getCombatLevel
public int getCombatLevel()
-
getName
public String getName()
-
getAppearance
public Player.Appearance getAppearance()
-
-