Track projectile target and spawn cycle. Add to api with rest of mapings.

This commit is contained in:
Frederik Engels
2018-01-14 09:11:18 -05:00
committed by Adam
parent 66401296b8
commit b319d74f8d
6 changed files with 247 additions and 8 deletions

View File

@@ -154,6 +154,8 @@ public interface Client
IndexedSprite[] getMapScene();
int getGameCycle();
SpritePixels[] getMapIcons();
IndexedSprite[] getModIcons();
@@ -169,4 +171,7 @@ public interface Client
boolean isClanMember(String name);
Point getSceneDestinationLocation();
List<Projectile> getProjectiles();
}

View File

@@ -24,9 +24,55 @@
*/
package net.runelite.api;
public interface Projectile
import java.time.Duration;
public interface Projectile extends Renderable
{
int getId();
Actor getInteracting();
Point getTarget();
int getTargetZ();
int getX1();
int getY1();
int getFloor();
int getHeight();
int getEndHeight();
int getStartMovementCycle();
int getSpawnCycle();
int getCycleLength();
Duration getLength();
int getEndCycle();
int getRemainingCycles();
int getSlope();
int getStartHeight();
double getX();
double getY();
double getZ();
double getScalar();
double getVelocityX();
double getVelocityY();
double getVelocityZ();
}