C# Class GamingInterface.MainInterface

Inheritance: System.Windows.Forms.Form
Show file Open project: RocHCI/legion-gaming Class Usage Examples

Public Properties

Property Type Description
CMDOWNPOS Point
CMLEFTPOS Point
CMRIGHTPOS Point
CMUPPOS Point
NOOP bool
bufferList List
bufferListLock Object
buttonOwners List[]
drawCMStar bool
leader int
leaderPer double
mmClient MMClient
mmServer MMServer
mode int
pingSound System.Media.SoundPlayer
players Player[]
servers GamingInterface.PlayerInputServer[]
starLoc int[]

Public Methods

Method Description
MainInterface ( ) : System

Protected Methods

Method Description
OnPaint ( PaintEventArgs e ) : void

Private Methods

Method Description
CloseButton_Click ( object sender, EventArgs e ) : void
Fade_OnTimedEvent ( Object myObject, EventArgs myEventArgs ) : void
MainInterface_Load ( object sender, EventArgs e ) : void
MainInterface_MouseDown ( object sender, System e ) : void
ReleaseCapture ( ) : bool
SendMessage ( IntPtr hWnd, int Msg, int wParam, int lParam ) : int
button_Paint ( Graphics g, int player, int button ) : void
drawCirc ( Graphics g, int player, int button ) : void
drawPoly ( Graphics g, int player, int button ) : void
drawRect ( Graphics g, int player, int button ) : void
drawStar ( Graphics g, Brush fillBrush, Pen outlinePen, Rectangle rect ) : void
playerCenter_Paint ( object sender, System e ) : void
playerTopL_Paint ( object sender, System e ) : void
playerTopR_Paint ( object sender, System e ) : void
second_OnTimedEvent ( Object myObject, EventArgs myEventArgs ) : void

Method Details

MainInterface() public method

public MainInterface ( ) : System
return System

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

Property Details

CMDOWNPOS public property

public Point CMDOWNPOS
return Point

CMLEFTPOS public property

public Point CMLEFTPOS
return Point

CMRIGHTPOS public property

public Point CMRIGHTPOS
return Point

CMUPPOS public property

public Point CMUPPOS
return Point

NOOP public property

public bool NOOP
return bool

bufferList public property

public List bufferList
return List

bufferListLock public property

public Object bufferListLock
return Object

buttonOwners public property

public List[] buttonOwners
return List[]

drawCMStar public property

public bool drawCMStar
return bool

leader public property

public int leader
return int

leaderPer public property

public double leaderPer
return double

mmClient public static property

public static MMClient,GamingInterface mmClient
return MMClient

mmServer public static property

public static MMServer,GamingInterface mmServer
return MMServer

mode public property

public int mode
return int

pingSound public property

public SoundPlayer,System.Media pingSound
return System.Media.SoundPlayer

players public property

public Player[] players
return Player[]

servers public static property

public static PlayerInputServer[],GamingInterface servers
return GamingInterface.PlayerInputServer[]

starLoc public property

public int[] starLoc
return int[]