Module net.botwithus.rs3
Class Player
java.lang.Object
net.botwithus.rs3.game.scene.entities.Entity
net.botwithus.rs3.game.scene.entities.characters.PathingEntity<PlayerAction>
net.botwithus.rs3.game.scene.entities.characters.player.Player
- All Implemented Interfaces:
Identifiable
,Interactable<PlayerAction>
,Onymous
,Validatable
,Locatable
- Direct Known Subclasses:
LocalPlayer
-
Nested Class Summary
Nested classes/interfaces inherited from class net.botwithus.rs3.game.scene.entities.Entity
Entity.Type
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPlayer
(int id, int animationId, Coordinate coordinate, String name, String overheadText, boolean isMoving, int followingIndex, int followingType, int combatLevel, Headbar[] headbars, Hitmark[] hitmarks, ScenePosition scene, float dir1, float dir2, int stanceId, List<SpotAnimation> spotAnimations, int serverX, int serverY) -
Method Summary
Modifier and TypeMethodDescription@Nullable Area
getArea()
Gets the Area that the Entity occupies on the world graph.Returns a defaultFunction
that throws anUnsupportedOperationException
when called.Methods inherited from class net.botwithus.rs3.game.scene.entities.characters.PathingEntity
equals, getAnimationId, getAnimationType, getCombatLevel, getCurrentHealth, getDirection1, getDirection2, getFollowing, getFollowingIndex, getFollowingType, getHeadbars, getHitmarks, getLinkedSpotAnims, getMaximumHealth, getName, getOptions, getOverheadText, getServerCoordinate, getStanceId, hashCode, interact, interact, isMoving, setAnimationId, validate
Methods inherited from class net.botwithus.rs3.game.scene.entities.Entity
getCoordinate, getId, getScene, getType
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.botwithus.rs3.game.annotations.Interactable
interact, interact, interact
Methods inherited from interface net.botwithus.rs3.game.Locatable
distanceTo, isReachable
-
Constructor Details
-
Player
public Player(int id, int animationId, Coordinate coordinate, String name, String overheadText, boolean isMoving, int followingIndex, int followingType, int combatLevel, Headbar[] headbars, Hitmark[] hitmarks, ScenePosition scene, float dir1, float dir2, int stanceId, List<SpotAnimation> spotAnimations, int serverX, int serverY)
-
-
Method Details
-
getDefaultMapper
Description copied from interface:Interactable
Returns a defaultFunction
that throws anUnsupportedOperationException
when called.- Returns:
- a default
Function
-
getArea
Description copied from class:Entity
Gets the Area that the Entity occupies on the world graph.
-