1package com.runehive.game;
3import com.runehive.game.world.World;
4import com.runehive.game.world.entity.mob.Mob;
5import com.runehive.game.world.position.Position;
10 public static final int[]
MAGIC_DELAYS = { 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5 };
13 public static final int[]
RANGED_DELAYS = { 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4 };
50 this(
id, 51, 68, 43, 31);
void setStartHeight(int startHeight)
void send(Mob source, Mob target)
void setEndHeight(int endHeight)
void setOffsetY(int offsetY)
void setOffsetX(int offsetX)
Projectile(int id, int delay, int duration, int startHeight, int endHeight, int curve, int distance, int offsetX, int offsetY)
Projectile(int id, int delay, int duration, int startHeight, int endHeight, int curve, int distance)
void setDuration(int duration)
static final int[] MAGIC_DELAYS
Magic combat projectile delays.
void setDistance(int distance)
void send(Mob source, Position target)
Projectile(int id, int delay, int duration, int startHeight, int endHeight, int curve)
static final int[] RANGED_DELAYS
Ranged combat projectile delays.
Projectile(int id, int delay, int duration, int startHeight, int endHeight)
Represents the game world.
static void sendProjectile(Projectile projectile, Position position, int instance, int lock, byte offsetX, byte offsetY)
Sends a world projectile.
Represents a single tile on the game world.