Skip navigation links
A B C E F G H I L M N O P R S T V W X Y 

G

getAcceleration() - Method in class asteroids.model.Ship
Return the acceleration of the ship.
getAngle() - Method in class asteroids.model.Ship
Return the angle (orientation) of this ship.
getAsteroidMass(Asteroid) - Method in class asteroids.facade.Facade
 
getAsteroidPosition(Asteroid) - Method in class asteroids.facade.Facade
 
getAsteroidRadius(Asteroid) - Method in class asteroids.facade.Facade
 
getAsteroidVelocity(Asteroid) - Method in class asteroids.facade.Facade
 
getAsteroidWorld(Asteroid) - Method in class asteroids.facade.Facade
 
getBody() - Method in class asteroids.model.Programs.Function
 
getBodyElse() - Method in class asteroids.model.Programs.Statements.ifStatement
 
getBodyIf() - Method in class asteroids.model.Programs.Statements.ifStatement
 
getBulletMass(Bullet) - Method in class asteroids.facade.Facade
 
getBulletPosition(Bullet) - Method in class asteroids.facade.Facade
 
getBulletRadius(Bullet) - Method in class asteroids.facade.Facade
 
getBullets() - Method in class asteroids.model.Ship
Return the bullets loaded onto this ship.
getBulletShip(Bullet) - Method in class asteroids.facade.Facade
 
getBulletsOnShip(Ship) - Method in class asteroids.facade.Facade
SHIP: Methods related to loaded bullets
getBulletSource(Bullet) - Method in class asteroids.facade.Facade
 
getBulletSource() - Method in class asteroids.model.Bullet
Return the source of the fired bullet as a Ship.
getBulletVelocity(Bullet) - Method in class asteroids.facade.Facade
 
getBulletWorld(Bullet) - Method in class asteroids.facade.Facade
 
getCollisionPosition(Ship, Ship) - Method in class asteroids.facade.Facade
 
getCollisionPositionWithBoundary() - Method in class asteroids.model.Entity
Method returning a pair of coordinates that represent the location of collision between an entity and a boundary.
getCondition() - Method in class asteroids.model.Programs.Statements.whileStatement
 
getDifference(Vector) - Method in class asteroids.model.Vector
 
getDirection - Class in asteroids.model.Programs.Expressions
 
getDirection(SourceLocation) - Constructor for class asteroids.model.Programs.Expressions.getDirection
 
getDistanceBetween(Ship, Ship) - Method in class asteroids.facade.Facade
 
getDistanceBetween(Entity) - Method in class asteroids.model.Entity
Compute the distance between two entities.
getDistanceBetweenCenters(Entity) - Method in class asteroids.model.Entity
Method getting returning the distance between the centers of two entitues
getEntities(World) - Method in class asteroids.facade.Facade
 
getEntityAt(World, double, double) - Method in class asteroids.facade.Facade
 
getEntityAtPosition(double, double) - Method in class asteroids.model.World
Return the entity, if any, at the given x- and y-coordinate.
getEntitySet() - Method in class asteroids.model.World
Return the set of Entities of this world.
getExecutionTimeLeft() - Method in class asteroids.model.Program
 
getFunction(String) - Method in class asteroids.model.Program
 
getHeight() - Method in class asteroids.model.World
Returning this world's height.
getLocation() - Method in class asteroids.model.Program
 
getMass() - Method in class asteroids.model.Entity
Return the mass of the entity.
getMass() - Method in class asteroids.model.Ship
Return the total mass of the ship.
getMinRadius() - Method in class asteroids.model.Entity
Return the minimun radius of the entity.
getMinShipMass() - Method in class asteroids.model.Entity
Get the minimum mass a ship must have.
getMovementPrediction(double) - Method in class asteroids.model.Entity
 
getName() - Method in class asteroids.model.Programs.Function
 
getNbBulletsOnShip(Ship) - Method in class asteroids.facade.Facade
 
getNbStudentsInTeam() - Method in class asteroids.facade.Facade
ADMINISTRATIVE STUFF
getNextCollidingEntities() - Method in class asteroids.model.World
Method that returns the entities involved in the next collision.
getNextCollisionPosition() - Method in class asteroids.model.World
Method that returns the position of the next collision.
getNumberOfBouncesLeft() - Method in class asteroids.model.Bullet
Returns the number of bounces left until destruction of this bullet.
getPlanetoidMass(Planetoid) - Method in class asteroids.facade.Facade
 
getPlanetoidPosition(Planetoid) - Method in class asteroids.facade.Facade
 
getPlanetoidRadius(Planetoid) - Method in class asteroids.facade.Facade
 
getPlanetoidTotalTraveledDistance(Planetoid) - Method in class asteroids.facade.Facade
 
getPlanetoidVelocity(Planetoid) - Method in class asteroids.facade.Facade
 
getPlanetoidWorld(Planetoid) - Method in class asteroids.facade.Facade
 
getPosition() - Method in class asteroids.model.Entity
POSITION RELATED
getPositionCollisionBoundary(Object) - Method in class asteroids.facade.Facade
 
getPositionCollisionEntity(Object, Object) - Method in class asteroids.facade.Facade
 
getPositionCollisionWithEntity(Entity) - Method in class asteroids.model.Entity
Method returning the position of the collision between this and another entity
getPositionNextCollision(World) - Method in class asteroids.facade.Facade
 
getProgram() - Method in class asteroids.model.Programs.Expressions.Expression
 
getProgram() - Method in class asteroids.model.Programs.Function
 
getProgram() - Method in class asteroids.model.Programs.Statements.Statement
 
getProgram() - Method in class asteroids.model.Ship
Get the program loaded on this ship.
getRadius() - Method in class asteroids.model.Entity
Return the radius of this entity.
getRadius - Class in asteroids.model.Programs.Expressions
 
getRadius(Expression<? extends Entity>, SourceLocation) - Constructor for class asteroids.model.Programs.Expressions.getRadius
 
getResults() - Method in class asteroids.model.Program
 
getShip() - Method in class asteroids.model.Bullet
Return the ship to which the current bullet is attached to.
getShip() - Method in class asteroids.model.Program
 
getShipAcceleration(Ship) - Method in class asteroids.facade.Facade
 
getShipMass(Ship) - Method in class asteroids.facade.Facade
 
getShipOrientation(Ship) - Method in class asteroids.facade.Facade
 
getShipPosition(Ship) - Method in class asteroids.facade.Facade
 
getShipProgram(Ship) - Method in class asteroids.facade.Facade
PROGRAMS
getShipRadius(Ship) - Method in class asteroids.facade.Facade
 
getShipVelocity(Ship) - Method in class asteroids.facade.Facade
METHODS PART 1
getShipWorld(Ship) - Method in class asteroids.facade.Facade
 
getSourceLocation() - Method in class asteroids.model.Programs.Statements.Statement
 
getSpeedOfLight() - Static method in class asteroids.model.Entity
 
getTimeCollisionBoundary(Object) - Method in class asteroids.facade.Facade
COLLISIONS
getTimeCollisionEntity(Object, Object) - Method in class asteroids.facade.Facade
 
getTimeCollisionWithEntity(Entity) - Method in class asteroids.model.Entity
Method returning the time until a collision happens between this entity and entity2
getTimeCollisionWithShip(Ship) - Method in class asteroids.model.Entity
Method returning the time until a collision happens between this entity and ship2
getTimeNextCollision(World) - Method in class asteroids.facade.Facade
 
getTimeNextCollision() - Method in class asteroids.model.World
Return the time until the next collision occurs in this world, if 2 entities overlap, return 0.
getTimeToCollision(Ship, Ship) - Method in class asteroids.facade.Facade
 
getTimeToCollisionWithBoundary() - Method in class asteroids.model.Entity
Method returning the time until THE FIRST collision that happens between this entity and a boundary.
getTotalTravelledDistance() - Method in class asteroids.model.Planetoid
Return the total distance travelled by this planetoid.
getTotalVelocity() - Method in class asteroids.model.Entity
Method computing the total velocity of this entity following the given formula.
getValue() - Method in class asteroids.model.Programs.Variable
 
getVariable(String) - Method in class asteroids.model.Program
 
getVariableName() - Method in class asteroids.model.Programs.Variable
 
getVariables() - Method in class asteroids.model.Program
 
getVelocity() - Method in class asteroids.model.Entity
Returning this entity's velocity
getVelocityX - Class in asteroids.model.Programs.Expressions
 
getVelocityX(Expression<? extends Entity>, SourceLocation) - Constructor for class asteroids.model.Programs.Expressions.getVelocityX
 
getVelocityY - Class in asteroids.model.Programs.Expressions
 
getVelocityY(Expression<? extends Entity>, SourceLocation) - Constructor for class asteroids.model.Programs.Expressions.getVelocityY
 
getWidth() - Method in class asteroids.model.World
Returning this world's width.
getWorld() - Method in class asteroids.model.Entity
Return this entities world.
getWorldAsteroids(World) - Method in class asteroids.facade.Facade
WORLD: Asteroids and planetoids
getWorldBullets(World) - Method in class asteroids.facade.Facade
 
getWorldPlanetoids(World) - Method in class asteroids.facade.Facade
 
getWorldShips(World) - Method in class asteroids.facade.Facade
 
getWorldSize(World) - Method in class asteroids.facade.Facade
 
getX - Class in asteroids.model.Programs.Expressions
 
getX(Expression<? extends Entity>, SourceLocation) - Constructor for class asteroids.model.Programs.Expressions.getX
 
getX() - Method in class asteroids.model.Vector
 
getY - Class in asteroids.model.Programs.Expressions
 
getY(Expression<? extends Entity>, SourceLocation) - Constructor for class asteroids.model.Programs.Expressions.getY
 
getY() - Method in class asteroids.model.Vector
 
grow(double) - Method in class asteroids.model.BlackHole
 
A B C E F G H I L M N O P R S T V W X Y 
Skip navigation links