MAK RTIspy API Documentation for HLA 1.3
Public Member Functions | Protected Attributes
common.Shot Class Reference

The Class Shot. More...

+ Inheritance diagram for common.Shot:
+ Collaboration diagram for common.Shot:

List of all members.

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.

Detailed Description

The Class Shot.


Constructor & Destructor Documentation

common.Shot.Shot ( int  x,
int  y,
E_Alignment  alignment 
) [inline]

Instantiates a new shot.

Parameters:
xthe x
ythe y
alignmentthe alignment

References common.Shot.alignment, and common.Shot.uuid.

Referenced by common.Shot.equals().


Member Function Documentation

abstract Shot common.Shot.createShot ( Ship  ship) [pure virtual]

Creates the shot.

Parameters:
shipthe ship
Returns:
the shot

Implemented in ui.draw.SquareShot.

Referenced by controllers.ShotManager.generateInitialShotPool().

boolean common.Shot.equals ( Object  obj) [inline]
UUID common.Shot.getUuid ( ) [inline]
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]
void common.Shot.setUuid ( UUID  uuid) [inline]

Sets the uuid.

Parameters:
uuidthe uuid to set

References common.Shot.uuid.

Referenced by federate.RTI1516e.MakShooterRTI1516eFederateAmbassador.reflectAttributeValuesShot().

String common.Shot.toString ( ) [inline]

Member Data Documentation

UUID common.Shot.uuid [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)