@deafwave/osrs-botmaker-types 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -49,7 +49,7 @@ declare namespace net.runelite.api {
|
|
|
49
49
|
*
|
|
50
50
|
* @return
|
|
51
51
|
*/
|
|
52
|
-
getSourcePoint(): net.runelite.api.coords.
|
|
52
|
+
getSourcePoint(): net.runelite.api.coords.WorldPoint;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* Get the actor the projectile starts at.
|
|
@@ -69,7 +69,7 @@ declare namespace net.runelite.api {
|
|
|
69
69
|
*
|
|
70
70
|
* @return
|
|
71
71
|
*/
|
|
72
|
-
getTargetPoint(): net.runelite.api.coords.
|
|
72
|
+
getTargetPoint(): net.runelite.api.coords.WorldPoint;
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* Get the actor the projectile ends at.
|
|
@@ -123,6 +123,7 @@ declare namespace net.runelite.api {
|
|
|
123
123
|
* Gets the height of the projectile.
|
|
124
124
|
*
|
|
125
125
|
* @return the height
|
|
126
|
+
* @deprecated
|
|
126
127
|
*/
|
|
127
128
|
getHeight(): number;
|
|
128
129
|
|
|
@@ -166,14 +167,18 @@ declare namespace net.runelite.api {
|
|
|
166
167
|
|
|
167
168
|
/**
|
|
168
169
|
* Gets the slope of the projectile.
|
|
169
|
-
* <p>
|
|
170
|
-
* This value indicates how much arc the projectile can have. Projectiles
|
|
171
|
-
* with larger slopes have a more noticeable arc when thrown.
|
|
172
170
|
*
|
|
173
171
|
* @return the slope of the projectile
|
|
174
172
|
*/
|
|
175
173
|
getSlope(): number;
|
|
176
174
|
|
|
175
|
+
/**
|
|
176
|
+
* Gets the starting position of the projectile.
|
|
177
|
+
*
|
|
178
|
+
* @return the starting position
|
|
179
|
+
*/
|
|
180
|
+
getStartPos(): number;
|
|
181
|
+
|
|
177
182
|
/**
|
|
178
183
|
* Gets the starting height of the projectile.
|
|
179
184
|
*
|