![]() |
MAK RTIspy API Documentation for HLA 1516
|
Inheritance diagram for common.Shot:
Collaboration diagram for common.Shot:Public Member Functions | |
| Shot (int x, int y, E_Alignment alignment) | |
| Instantiates a new shot. | |
| UUID | getUuid () |
| Gets the uuid. | |
| void | setUuid (UUID uuid) |
| Sets the uuid. | |
| E_Alignment | getAlignment () |
| Gets the alignment. | |
| void | setAlignment (E_Alignment alignment) |
| Sets the alignment. | |
| abstract Shot | createShot (Ship ship) |
| Creates the shot. | |
| int | hashCode () |
| boolean | equals (Object obj) |
| String | toString () |
Public Member Functions inherited from common.Drawable | |
| Drawable (int x, int y) | |
| Instantiates a new drawable. | |
| abstract void | draw (Graphics g) |
| This draws the shape. | |
| abstract Shape | getShape () |
| This returns an AWT shape which represents the Drawable. | |
| String | getName () |
| Gets the name. | |
| void | setName (String name) |
| Sets the name. | |
| int | getX () |
| Gets the x. | |
| void | setX (int x) |
| Sets the x. | |
| int | getY () |
| Gets the y. | |
| void | setY (int y) |
| Sets the y. | |
| boolean | isVisible () |
| Checks if is visible. | |
| void | setVisible (boolean isVisible) |
| Sets the visible. | |
Protected Attributes | |
| UUID | uuid |
| The uuid. | |
| E_Alignment | alignment |
| The alignment. | |
Protected Attributes inherited from common.Drawable | |
| String | name |
| The name. | |
| int | x |
| The x. | |
| int | y |
| The y. | |
| boolean | isVisible |
| The is visible. | |
The Class Shot.
|
inline |
Instantiates a new shot.
| x | the x |
| y | the y |
| alignment | the alignment |
References common.Shot.alignment, and common.Shot.uuid.
Referenced by common.Shot.equals().
Creates the shot.
| ship | the ship |
Implemented in ui.draw.SquareShot.
Referenced by controllers.ShotManager.generateInitialShotPool().
|
inline |
Reimplemented from common.Drawable.
References common.Shot.alignment, common.Shot.Shot(), and common.Shot.uuid.
|
inline |
Gets the alignment.
References common.Shot.alignment.
Referenced by controllers.ShotManager.checkIfShotDetonates(), controllers.ShotManager.incrementShot(), controllers.ShotManager.performIntenseDetonationCheck(), and controllers.ShotManager.removeShot().
|
inline |
Gets the uuid.
References common.Shot.uuid.
Referenced by controllers.ShotManager.addNewShot(), federate.RTI1516e.MakShooterRTI1516eFederateAmbassador.removeInstanceObjectShot(), and controllers.ShotManager.removeShot().
|
inline |
Reimplemented from common.Drawable.
References common.Shot.alignment, and common.Shot.uuid.
|
inline |
Sets the alignment.
| alignment | the new alignment |
References common.Shot.alignment.
Referenced by federate.RTI1516e.MakShooterRTI1516eFederateAmbassador.reflectAttributeValuesShot(), and controllers.KeyboardShipController.shoot().
|
inline |
Sets the uuid.
| uuid | the uuid to set |
References common.Shot.uuid.
Referenced by federate.RTI1516e.MakShooterRTI1516eFederateAmbassador.reflectAttributeValuesShot().
|
inline |
|
protected |
The alignment.
Referenced by common.Shot.equals(), common.Shot.getAlignment(), common.Shot.hashCode(), common.Shot.setAlignment(), common.Shot.Shot(), and common.Shot.toString().
|
protected |
The uuid.
Referenced by common.Shot.equals(), common.Shot.getUuid(), common.Shot.hashCode(), common.Shot.setUuid(), common.Shot.Shot(), and common.Shot.toString().