MAK RTIspy API Documentation for HLA Evolved
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
controllers.ShotIncrementingThread Class Reference

The Class ShotIncrementingThread. More...

+ Inheritance diagram for controllers.ShotIncrementingThread:
+ Collaboration diagram for controllers.ShotIncrementingThread:

Public Member Functions

 ShotIncrementingThread (Board board, E_Alignment alignment)
 Instantiates a new shot incrementing thread.
void run ()
void setFinished (boolean finished)
 Sets the finished.
ShotIncrementingThread createAndStartShotIncrementingThread ()
 Creates the and start shot incrementing thread.
void setOnlyPaint (boolean onlyPaint)
boolean isOnlyPaint ()

Private Member Functions

void repaint ()
 Repaint.

Private Attributes

Board board
 The board.
E_Alignment alignment
 The alignment.
boolean finished = false
 The finished.
boolean onlyPaint = false

Static Private Attributes

static final long DELAY = 90
 This is the delay between incrementing a shot on the board.

Detailed Description

The Class ShotIncrementingThread.

Author
snandi

Constructor & Destructor Documentation

controllers.ShotIncrementingThread.ShotIncrementingThread ( Board  board,
E_Alignment  alignment 
)
inline

Instantiates a new shot incrementing thread.

Parameters
boardthe board
alignmentthe alignment

References controllers.ShotIncrementingThread.alignment, and controllers.ShotIncrementingThread.board.

Member Function Documentation

ShotIncrementingThread controllers.ShotIncrementingThread.createAndStartShotIncrementingThread ( )
inline

Creates the and start shot incrementing thread.

References controllers.ShotIncrementingThread.alignment, and controllers.ShotIncrementingThread.board.

Referenced by ui.TestMain.main(), and federate.RTI1516e.Test.main().

boolean controllers.ShotIncrementingThread.isOnlyPaint ( )
inline
void controllers.ShotIncrementingThread.repaint ( )
inlineprivate
void controllers.ShotIncrementingThread.run ( )
inline
void controllers.ShotIncrementingThread.setFinished ( boolean  finished)
inline

Sets the finished.

Parameters
finishedthe finished to set

References controllers.ShotIncrementingThread.finished.

Referenced by ui.RTIActionHelper.stopShotIncrementingThread().

void controllers.ShotIncrementingThread.setOnlyPaint ( boolean  onlyPaint)
inline

Member Data Documentation

E_Alignment controllers.ShotIncrementingThread.alignment
private
Board controllers.ShotIncrementingThread.board
private
final long controllers.ShotIncrementingThread.DELAY = 90
staticprivate

This is the delay between incrementing a shot on the board.

This delay should probably be network sensitive as you don't want to increment a shot and then receive it detonated 20ms ago

Referenced by controllers.ShotIncrementingThread.run().

boolean controllers.ShotIncrementingThread.finished = false
private
boolean controllers.ShotIncrementingThread.onlyPaint = false
private

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

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)