RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.net.packet.context.CameraContext Class Reference

Classes

enum  CameraType

Public Member Functions

 CameraContext (Player player, CameraType type, int x, int y, int height, int speed, int zoomSpeed)
Player getPlayer ()
CameraType getType ()
int getX ()
int getY ()
int getHeight ()
int getSpeed ()
int getZoomSpeed ()

Detailed Description

Represents a camera context.

Author
Emperor (ported from Arios)

Definition at line 35 of file CameraContext.java.

Constructor & Destructor Documentation

◆ CameraContext()

com.osroyale.net.packet.context.CameraContext.CameraContext ( Player player,
CameraType type,
int x,
int y,
int height,
int speed,
int zoomSpeed )
inline

Constructs a new CameraContext {@Code Object}.

Parameters
playerThe player.
typeThe camera type.
xThe x-coordinate of the camera.
yThe y-coordinate of the camera.
heightThe height.
zoomSpeedThe zoom speed.
speedThe speed.

Definition at line 115 of file CameraContext.java.

Member Function Documentation

◆ getHeight()

int com.osroyale.net.packet.context.CameraContext.getHeight ( )
inline

Gets the height.

Returns
The height.

Definition at line 161 of file CameraContext.java.

◆ getPlayer()

Player com.osroyale.net.packet.context.CameraContext.getPlayer ( )
inline

Gets the player.

Returns
The player.

Definition at line 129 of file CameraContext.java.

◆ getSpeed()

int com.osroyale.net.packet.context.CameraContext.getSpeed ( )
inline

Gets the speed.

Returns
The speed.

Definition at line 169 of file CameraContext.java.

◆ getType()

CameraType com.osroyale.net.packet.context.CameraContext.getType ( )
inline

Gets the type.

Returns
The type.

Definition at line 137 of file CameraContext.java.

◆ getX()

int com.osroyale.net.packet.context.CameraContext.getX ( )
inline

Gets the x.

Returns
The x.

Definition at line 145 of file CameraContext.java.

◆ getY()

int com.osroyale.net.packet.context.CameraContext.getY ( )
inline

Gets the y.

Returns
The y.

Definition at line 153 of file CameraContext.java.

◆ getZoomSpeed()

int com.osroyale.net.packet.context.CameraContext.getZoomSpeed ( )
inline

Gets the zoomSpeed.

Returns
The zoomSpeed.

Definition at line 177 of file CameraContext.java.


The documentation for this class was generated from the following file: