![]() |
MAK RTIspy API Documentation for HLA 1.3
|
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 () |
Protected Attributes | |
| UUID | uuid |
| The uuid. | |
| E_Alignment | alignment |
| The alignment. | |
The Class Shot.
| common.Shot.Shot | ( | int | x, |
| int | y, | ||
| E_Alignment | alignment | ||
| ) | [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().
| abstract Shot common.Shot.createShot | ( | Ship | ship | ) | [pure virtual] |
Creates the shot.
| ship | the ship |
Implemented in ui.draw.SquareShot.
Referenced by controllers.ShotManager.generateInitialShotPool().
| boolean common.Shot.equals | ( | Object | obj | ) | [inline] |
Reimplemented from common.Drawable.
References common.Shot.alignment, common.Shot.Shot(), and common.Shot.uuid.
| E_Alignment common.Shot.getAlignment | ( | ) | [inline] |
Gets the alignment.
References common.Shot.alignment.
Referenced by controllers.ShotManager.checkIfShotDetonates(), controllers.ShotManager.incrementShot(), controllers.ShotManager.performIntenseDetonationCheck(), and controllers.ShotManager.removeShot().
| UUID common.Shot.getUuid | ( | ) | [inline] |
Gets the uuid.
References common.Shot.uuid.
Referenced by controllers.ShotManager.addNewShot(), federate.RTI1516e.MakShooterRTI1516eFederateAmbassador.removeInstanceObjectShot(), and controllers.ShotManager.removeShot().
| int common.Shot.hashCode | ( | ) | [inline] |
Reimplemented from common.Drawable.
References common.Shot.alignment, and common.Shot.uuid.
| void common.Shot.setAlignment | ( | E_Alignment | alignment | ) | [inline] |
Sets the alignment.
| alignment | the new alignment |
References common.Shot.alignment.
Referenced by federate.RTI1516e.MakShooterRTI1516eFederateAmbassador.reflectAttributeValuesShot(), and controllers.KeyboardShipController.shoot().
| void common.Shot.setUuid | ( | UUID | uuid | ) | [inline] |
Sets the uuid.
| uuid | the uuid to set |
References common.Shot.uuid.
Referenced by federate.RTI1516e.MakShooterRTI1516eFederateAmbassador.reflectAttributeValuesShot().
| String common.Shot.toString | ( | ) | [inline] |
E_Alignment common.Shot.alignment [protected] |
The alignment.
Referenced by common.Shot.equals(), common.Shot.getAlignment(), common.Shot.hashCode(), common.Shot.setAlignment(), common.Shot.Shot(), and common.Shot.toString().
UUID common.Shot.uuid [protected] |
The uuid.
Referenced by common.Shot.equals(), common.Shot.getUuid(), common.Shot.hashCode(), common.Shot.setUuid(), common.Shot.Shot(), and common.Shot.toString().