All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.player.internet.InternetPlayerStrategy

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----pinball.player.Strategy
                   |
                   +----pinball.player.network.NetworkPlayerStrategy
                           |
                           +----pinball.player.internet.InternetPlayerStrategy

public class InternetPlayerStrategy
extends NetworkPlayerStrategy
The internet player's strategy. This sends the location of the ball, and other data over to the client. This starts up the server.


Constructor Index

 o InternetPlayerStrategy(Buffer, TextArea, Camera, MyServer)
The strategy thread for the player.

Method Index

 o custom()
Startup the server.

Constructors

 o InternetPlayerStrategy
 public InternetPlayerStrategy(Buffer buffer,
                               TextArea gameStats,
                               Camera camera,
                               MyServer server)
The strategy thread for the player.

Parameters:
buffer - the first buffer in the series of buffers for the system.
gameStats - the area to write the game stats to.
camera - the camera for the system.
server - the server for the network.

Methods

 o custom
 public void custom()
Startup the server.

Overrides:
custom in class NetworkPlayerStrategy

All Packages  Class Hierarchy  This Package  Previous  Next  Index