runelite-api: add Projectile

This commit is contained in:
Adam
2017-11-26 11:03:47 -05:00
parent 6402e16bb5
commit d0cb93c433
4 changed files with 113 additions and 17 deletions

View File

@@ -139,6 +139,9 @@ public interface RSClient extends RSGameEngine, Client
@Import("cachedPlayers")
RSPlayer[] getCachedPlayers();
@Import("localInteractingIndex")
int getLocalInteractingIndex();
@Import("groundItemDeque")
RSDeque[][][] getGroundItemDeque();

View File

@@ -24,25 +24,15 @@
*/
package net.runelite.rs.api;
import net.runelite.api.Projectile;
import net.runelite.mapping.Import;
public interface RSProjectile
public interface RSProjectile extends Projectile
{
@Import("isMoving")
boolean isMoving();
@Import("id")
@Override
int getId();
@Import("animationSequence")
RSSequence getAnimationSequence();
@Import("velocityY")
double getVelocityY();
@Import("velocityX")
double getVelocityX();
@Import("velocityZ")
double getVelocityZ();
@Import("scalar")
double getScalar();
@Import("interacting")
int getRsInteracting();
}