Uses of Class
model.Entity
Packages that use Entity
-
Uses of Entity in model
Modifier and TypeClassDescriptionclassAn entity which represents one of our space invader aliens.classTagging class to distinguish an Alien shot from a ship shotclassAdds infrastructure to give the entity animation through a provided list of sprites when the entity is in the ALIVE stateclassEntity of the game which is a Border.classThe entity that represents the players shipclassAn entity representing a shot fired by the player's shipModifier and TypeFieldDescriptionprotected Entity[]EntityListArray.entitiesThe entities in the array.protected Entity[]EntityListArray.removeEntitiesThe entities to be removed on next game cycleModifier and TypeMethodDescriptionEntityListArray.collidesWith(Entity other) Check if this entity collides with any entity in this entity array.EntityListInterface.collidesWith(Entity other) Check if this entity collides with any entity in this entity list.EntityListArray.getRandom()if there are no entities in the list return null return one of the entities in the array - choosing it randomlyEntityListInterface.getRandom()return one of the entities in the list - choosing it randomly If there are no entities in the list will return nullModifier and TypeMethodDescriptionvoidAdd one entity to the entities arrayvoidAdd an entitybooleanEntity.collidesWith(Entity other) Check if this entity collides with another.EntityListArray.collidesWith(Entity other) Check if this entity collides with any entity in this entity array.EntityListInterface.collidesWith(Entity other) Check if this entity collides with any entity in this entity list.voidEntityListArray.registerEntityForRemoval(Entity e) voidEntityListInterface.registerEntityForRemoval(Entity e) Registers an entity for removal next time the state of the list is updatedvoidRemove an entity from the arrayvoidRemove an entity from the list -
Uses of Entity in model.events
Methods in model.events that return EntityModifier and TypeMethodDescriptionEntityDiedEvent.getEntity()EntityMoveEvent.getEntity()EntityHitEvent.getHit()EntityHitEvent.getHitBy()Constructors in model.events with parameters of type Entity