Scripting API

Home Scripting API Index Class Overview

com.nolimitscoaster

Class Entity


public class Entity
extends Object

Base-class for all entities

Method Summary

bool equals(Object a)
  returns true if 'a' is an identical Entity (it has the same id)
int getEntityId()
  Returns the id of this Entity. Each Entity has a unique id.
int getParentEntityId()
  Returns the id of the parent of this instance


Method Detail


equals

public bool equals(Object a)

returns true if 'a' is an identical Entity (it has the same id)


getEntityId

public final int getEntityId()

Returns the id of this Entity. Each Entity has a unique id.


getParentEntityId

public final int getParentEntityId()

Returns the id of the parent of this instance

Returns 0 if this instance has no parent