This is a method function for
KillEntities annotation. It will resolve an
KillEntitiesMethod to be used by the entity typing system. This differs from the usual
killing of
Entity as it also lets kill a subset of
Entity using
EntityID
(so adding to any method will cause it to filter).
The next example signature will resolve to
EntityContainer.killEntities().
@KillEntities
void killGhosts();
The next example signature will show how to use one of the above examples with a subset.
@EntityID(mostSigBits = 0, leastSigBits = 1)
@EntityID(mostSigBits = 0, leastSigBits = 2)
@EntityID(mostSigBits = 0, leastSigBits = 3)
@EntityID(mostSigBits = 0, leastSigBits = 4)
@EntityID(mostSigBits = 0, leastSigBits = 5)
@KillEntities
void killGhosts();
NOTE: This function will throw exceptions if
KillEntities is present but the method
signature is invalid.