MAK RTIspy API Documentation for HLA 1.3
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:

List of all members.

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

Instantiates a new shot incrementing thread.

Parameters:
boardthe board
alignmentthe alignment

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


Member Function Documentation

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().

void controllers.ShotIncrementingThread.repaint ( ) [inline, private]
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

final long controllers.ShotIncrementingThread.DELAY = 90 [static, private]

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().


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)