Projectile

class Projectile(projectile: IProjectile?) : Locatable, Identifiable, Validatable, Nillable<Projectile?>

Projectile

Constructors

Projectile
Link copied to clipboard
fun Projectile(projectile: IProjectile?)

Types

Companion
Link copied to clipboard
object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(o: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
id
Link copied to clipboard
open override fun id(): Int

The identifier of this entity

isRendered
Link copied to clipboard
open fun isRendered(): Boolean
nil
Link copied to clipboard
open override fun nil(): Projectile

A "null" instance. An object with no function. All methods will not evaluate to anything.

reachable
Link copied to clipboard
open fun reachable(): Boolean

Whether or not the Locatable can be reached. If the tile is blocked, the nearest unblocked tile will be used.

target
Link copied to clipboard
fun target(): Actor<*>
tile
Link copied to clipboard
open override fun tile(): Tile

The current location of the entity.

valid
Link copied to clipboard
open override fun valid(): Boolean

Properties

cycleStart
Link copied to clipboard
val cycleStart: Int
endHeight
Link copied to clipboard
val endHeight: Int
id
Link copied to clipboard
val id: Int
isStarted
Link copied to clipboard
val isStarted: Boolean
orientation
Link copied to clipboard
val orientation: Int
slope
Link copied to clipboard
val slope: Int
startDistance
Link copied to clipboard
val startDistance: Int
startX
Link copied to clipboard
val startX: Int
startY
Link copied to clipboard
val startY: Int
startZ
Link copied to clipboard
val startZ: Int
x
Link copied to clipboard
val x: Int
y
Link copied to clipboard
val y: Int