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
ConstructorsConstructorDescriptionPlayer(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 AreagetArea()Gets the Area that the Entity occupies on the world graph.Returns a defaultFunctionthat throws anUnsupportedOperationExceptionwhen 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, validateMethods inherited from class net.botwithus.rs3.game.scene.entities.Entity
getCoordinate, getId, getScene, getTypeMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.botwithus.rs3.game.annotations.Interactable
interact, interact, interactMethods 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:InteractableReturns a defaultFunctionthat throws anUnsupportedOperationExceptionwhen called.- Returns:
- a default
Function
-
getArea
Description copied from class:EntityGets the Area that the Entity occupies on the world graph.
-