|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of BaseEntity in source.ucregents.playground |
---|
Methods in source.ucregents.playground with parameters of type BaseEntity | |
---|---|
static void |
Utility.HandleEvent(int type,
int subtype,
BaseEntity b)
Execute all UserEvents associated with a given Base Entity. |
Method parameters in source.ucregents.playground with type arguments of type BaseEntity | |
---|---|
static void |
Utility.HandleEvents(int type,
int subtype,
java.util.Vector<BaseEntity> ents)
Loop through all entities and execute any events bound to a certain type and subtype. |
Uses of BaseEntity in source.ucregents.playground.gui |
---|
Fields in source.ucregents.playground.gui declared as BaseEntity | |
---|---|
BaseEntity |
EditorPanel.copiedEntity
|
BaseEntity |
EditorPanel.selectedEntity
|
Methods in source.ucregents.playground.gui that return BaseEntity | |
---|---|
protected BaseEntity |
EditorPanel.getClickedInEntity(int x,
int y)
Returns which entity was clicked into |
protected BaseEntity |
ContextMenu_Entity.getEntity()
|
protected BaseEntity |
ContextMenu_Axes.getEntity()
|
BaseEntity |
EventParameterFrame.getSelectedEntity()
|
BaseEntity |
EventManagerFrame.getSelectedEntity()
|
Methods in source.ucregents.playground.gui with parameters of type BaseEntity | |
---|---|
protected void |
EditorPanel.clickInEntity(BaseEntity b)
Called when an object has been clicked. |
protected void |
EditorPanel.DrawEntity(BaseEntity entity,
java.awt.Graphics2D g2d)
|
java.awt.Point |
EditorPanel.findOffset(BaseEntity b,
int x,
int y)
Finds the difference in the x and y direction of where the mouse clicked in an entity and the entity's Upper-left corner. |
void |
EditorPanel.InternalEntityUnregistration(BaseEntity removeEntity)
|
protected void |
ContextMenu_Entity.setEntity(BaseEntity entity)
|
protected void |
ContextMenu_Axes.setEntity(BaseEntity entity)
|
void |
EventParameterFrame.setSelectedEntity(BaseEntity be)
|
void |
EventManagerFrame.setSelectedEntity(BaseEntity be)
|
Constructors in source.ucregents.playground.gui with parameters of type BaseEntity | |
---|---|
EventManagerFrame(BaseEntity b)
Main constructor. |
Uses of BaseEntity in source.ucregents.playground.physics |
---|
Subclasses of BaseEntity in source.ucregents.playground.physics | |
---|---|
class |
BaseFieldForceEntity
The ForceEntity class creates an entity which produces a "force" which can attract or repel "MovingEntities" and can act uniformly on the playing field or drop off over a distance. |
class |
FieldForceEntity
The ForceEntity class creates an entity which produces a "force" which can attract or repel "MovingEntities" and can act uniformly on the playing field or drop off over a distance. |
class |
MovingEntity
This class extends base entity by added properties that allow the object to function in a 2d physics environment |
class |
RangedForceEntity
Ranged Force Entity is a force entity that has a force that pulls toward a point in space. |
class |
ScaledMassFieldForce
|
Methods in source.ucregents.playground.physics that return types with arguments of type BaseEntity | |
---|---|
java.util.Vector<BaseEntity> |
BaseDisplayPanel.getClonedEntities()
Returns a copy of the entities currently in the Panel |
java.util.Vector<BaseEntity> |
BaseDisplayPanel.getEntities()
Returns all of the entities currently in the Panel |
java.util.Vector<BaseEntity> |
BaseDisplayPanel.GetEntitiesInRange(BaseEntity entity,
int range)
Returns a vector of entities within a the range of the parameter entity |
java.util.Vector<BaseEntity> |
BaseDisplayPanel.GetEntitiesInRange(java.awt.geom.Point2D p,
int range)
Returns a vector of entities within a the range of the parameter point |
Methods in source.ucregents.playground.physics with parameters of type BaseEntity | |
---|---|
void |
MovingEntity.collide(BaseEntity obj2)
Uses standard billard physics to change the velocities of the moving after the collision has occured. |
protected void |
BaseDisplayPanel.DrawEntity(BaseEntity entity,
java.awt.Graphics2D g2d)
|
java.util.Vector<BaseEntity> |
BaseDisplayPanel.GetEntitiesInRange(BaseEntity entity,
int range)
Returns a vector of entities within a the range of the parameter entity |
protected void |
BaseDisplayPanel.InternalEntityRegistration(BaseEntity entity)
|
protected void |
Arena.InternalEntityRegistration(BaseEntity entity)
|
protected void |
BaseDisplayPanel.InternalEntityUnregistration(BaseEntity removeEntity)
Unregisters an entity with the Panel, the entity will be removed after every other entity has been moved and drawn. |
void |
Arena.InternalEntityUnregistration(BaseEntity removeEntity)
|
protected boolean |
BaseDisplayPanel.IntersectsWithAnything(BaseEntity be)
Determines if any party of 1 entity intersects with any other |
javax.vecmath.Vector2d |
BaseEntity.isOverlapping(BaseEntity ent2)
Determines whether another polygon is overlapping another using the seperate axis theorem. |
void |
BaseEntity.OnCollisionWith(BaseEntity ent2)
Physics collisions are already handled, this method is called immediately after each collision to determine any special behavior of this entity. |
void |
BaseDisplayPanel.RegisterEntity(BaseEntity addEntity)
Registers an entity with the Panel, the entity will be added after every other entity has been moved and drawn. |
void |
BaseDisplayPanel.UnregisterEntity(BaseEntity entity)
|
Method parameters in source.ucregents.playground.physics with type arguments of type BaseEntity | |
---|---|
void |
DrawableAxes.Draw(java.awt.Graphics2D g,
java.util.Vector<BaseEntity> entitiesToDrawAxes)
|
void |
BaseDisplayPanel.RegisterEntities(java.util.Vector<BaseEntity> ents)
|
Uses of BaseEntity in source.ucregents.playground.samplegame |
---|
Subclasses of BaseEntity in source.ucregents.playground.samplegame | |
---|---|
class |
BackgroundTerrain
|
class |
Ball
|
class |
Ball_Beach
A Soccer ball is a MovingEntity with a soccerball image and with a mass of .2kg, and friction coefficients of 1 |
class |
Ball_Bowling
A Bowling Ball is a MovingEntity with the image of a bowling ball and with a weight of 7kg and friction coefs of 1. |
class |
Ball_Smile
|
class |
Ball_Soccer
A Soccer ball is a MovingEntity with a soccerball image and with a mass of 1kg, and friction coefficients of 1 |
class |
Bot
|
class |
Obstacle
|
class |
Parallelogram
|
class |
Square
|
class |
Terrain
|
class |
Triangle
|
Methods in source.ucregents.playground.samplegame with parameters of type BaseEntity | |
---|---|
void |
Ball_Smile.OnCollisionWith(BaseEntity ent2)
|
Uses of BaseEntity in source.ucregents.playground.samplegame.planets |
---|
Subclasses of BaseEntity in source.ucregents.playground.samplegame.planets | |
---|---|
class |
Planet1
A Planet1 is a MovingEntity with a Planet1 image and with a mass of 50000kg, and friction coefficients of 1 |
class |
Planet2
A Planet1 is a MovingEntity with a Planet2 image and with a mass of 80000kg, and friction coefficients of 1 |
class |
Planet3
A Planet1 is a MovingEntity with a Planet3 image and with a mass of 50000kg, and friction coefficients of 1 |
Uses of BaseEntity in source.ucregents.playground.serialization |
---|
Methods in source.ucregents.playground.serialization that return types with arguments of type BaseEntity | |
---|---|
java.util.Vector<BaseEntity> |
Loader.processDOM()
Going to be used to parse out the XML in the Load process. |
Method parameters in source.ucregents.playground.serialization with type arguments of type BaseEntity | |
---|---|
void |
Saver.createXMLDoc(java.util.Vector<BaseEntity> ents)
Construct the XML document representing the Vector of entities in the editor |
Constructor parameters in source.ucregents.playground.serialization with type arguments of type BaseEntity | |
---|---|
Saver(java.util.Vector<BaseEntity> ents)
Constructor for saving to the currently set XML file path |
|
Saver(java.util.Vector<BaseEntity> ents,
java.io.File saveTo)
Constructor for serializing entities to an XML file. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |