armark1ng

Untitled

Jun 25th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. package com.rs.game;
  2.  
  3. public class Projectile {
  4.  
  5. private WorldTile from, to;
  6. private boolean adjustFlyingHeight, adjustSenderHeight;
  7. private int senderBodyPartId, graphicId, startHeight, endHeight, startTime, endTime, slope, angle;
  8. private double speed;
  9.  
  10. public Projectile(WorldTile from, WorldTile to, boolean adjustFlyingHeight, boolean adjustSenderHeight,
  11. int senderBodyPartId, int graphicId, int startHeight, int endHeight, int startTime, int endTime, int slope,
  12. int angle, double speed) {
  13. this.from = from;
  14. this.to = to;
  15. this.adjustFlyingHeight = adjustFlyingHeight;
  16. this.senderBodyPartId = senderBodyPartId;
  17. this.graphicId = graphicId;
  18. this.startHeight = startHeight;
  19. this.endHeight = endHeight;
  20. this.startTime = startTime;
  21. this.endTime = endTime;
  22. this.slope = slope;
  23. this.angle = angle;
  24. this.speed = speed;
  25. }
  26.  
  27. public Projectile(WorldTile from, WorldTile to, boolean adjustFlyingHeight, boolean adjustSenderHeight,
  28. int senderBodyPartId, int graphicId, int startHeight, int endHeight, int startTime, int endTime, int slope,
  29. int angle) {
  30. this.from = from;
  31. this.to = to;
  32. this.adjustFlyingHeight = adjustFlyingHeight;
  33. this.senderBodyPartId = senderBodyPartId;
  34. this.graphicId = graphicId;
  35. this.startHeight = startHeight;
  36. this.endHeight = endHeight;
  37. this.startTime = startTime;
  38. this.endTime = endTime;
  39. this.slope = slope;
  40. this.angle = angle;
  41. }
  42.  
  43. public WorldTile getFrom() {
  44. return from;
  45. }
  46.  
  47. public WorldTile getTo() {
  48. return to;
  49. }
  50.  
  51. public boolean isAdjustFlyingHeight() {
  52. return adjustFlyingHeight;
  53. }
  54.  
  55. public boolean isAdjustSenderHeight() {
  56. return adjustSenderHeight;
  57. }
  58.  
  59. public int getSenderBodyPart() {
  60. return senderBodyPartId;
  61. }
  62.  
  63. public int getGraphicId() {
  64. return graphicId;
  65. }
  66.  
  67. public int getStartHeight() {
  68. return startHeight;
  69. }
  70.  
  71. public int getEndHeight() {
  72. return endHeight;
  73. }
  74.  
  75. public int getStartTime() {
  76. return startTime;
  77. }
  78.  
  79. public int getEndTime() {
  80. return endTime;
  81. }
  82.  
  83. public int getSlope() {
  84. return slope;
  85. }
  86.  
  87. public int getAngle() {
  88. return angle;
  89. }
  90.  
  91. public double getSpeed() {
  92. return speed;
  93. }
  94.  
  95. }
Advertisement
Add Comment
Please, Sign In to add comment