Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.rs.game;
- public class Projectile {
- private WorldTile from, to;
- private boolean adjustFlyingHeight, adjustSenderHeight;
- private int senderBodyPartId, graphicId, startHeight, endHeight, startTime, endTime, slope, angle;
- private double speed;
- public Projectile(WorldTile from, WorldTile to, boolean adjustFlyingHeight, boolean adjustSenderHeight,
- int senderBodyPartId, int graphicId, int startHeight, int endHeight, int startTime, int endTime, int slope,
- int angle, double speed) {
- this.from = from;
- this.to = to;
- this.adjustFlyingHeight = adjustFlyingHeight;
- this.senderBodyPartId = senderBodyPartId;
- this.graphicId = graphicId;
- this.startHeight = startHeight;
- this.endHeight = endHeight;
- this.startTime = startTime;
- this.endTime = endTime;
- this.slope = slope;
- this.angle = angle;
- this.speed = speed;
- }
- public Projectile(WorldTile from, WorldTile to, boolean adjustFlyingHeight, boolean adjustSenderHeight,
- int senderBodyPartId, int graphicId, int startHeight, int endHeight, int startTime, int endTime, int slope,
- int angle) {
- this.from = from;
- this.to = to;
- this.adjustFlyingHeight = adjustFlyingHeight;
- this.senderBodyPartId = senderBodyPartId;
- this.graphicId = graphicId;
- this.startHeight = startHeight;
- this.endHeight = endHeight;
- this.startTime = startTime;
- this.endTime = endTime;
- this.slope = slope;
- this.angle = angle;
- }
- public WorldTile getFrom() {
- return from;
- }
- public WorldTile getTo() {
- return to;
- }
- public boolean isAdjustFlyingHeight() {
- return adjustFlyingHeight;
- }
- public boolean isAdjustSenderHeight() {
- return adjustSenderHeight;
- }
- public int getSenderBodyPart() {
- return senderBodyPartId;
- }
- public int getGraphicId() {
- return graphicId;
- }
- public int getStartHeight() {
- return startHeight;
- }
- public int getEndHeight() {
- return endHeight;
- }
- public int getStartTime() {
- return startTime;
- }
- public int getEndTime() {
- return endTime;
- }
- public int getSlope() {
- return slope;
- }
- public int getAngle() {
- return angle;
- }
- public double getSpeed() {
- return speed;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment