org.walluck.oscar
Class Game

java.lang.Object
  extended by org.walluck.oscar.Game

public class Game
extends Object

Game support. Yes, not all of this would be cross platform, but it could be, and that's the beauty of it, assuming both sides can support the same Java (or Unix) game, this could work.

Since:
1.0
Version:
1.0
Author:
David Walluck

Constructor Summary
Game()
          Creates a new Game.
 
Method Summary
 String getAppPathKey()
          Get the value of appPathKey.
 String getCmd()
          Get the value of cmd.
 String getExecutablePath()
          Get the value of executablePath.
 String getHint()
          Get the value of hint.
 String getName()
          Get the value of name.
 String getServercmd()
          Get the value of servercmd.
 String getURL()
          Get the value of url.
 String getWorkingDirectory()
          Get the value of workingDirectory.
 boolean go1st()
          Get the value of go1st.
 boolean isHideIMs()
          Get the value of hideIMs.
 boolean isMultiplayer()
          Get the value of multiplayer.
 void setAppPathKey(String appPathKey)
          Set the value of appPathKey.
 void setCmd(String cmd)
          Set the value of cmd.
 void setExecutablePath(String executablePath)
          Set the value of executablePath.
 void setGo1st(boolean go1st)
          Set the value of go1st.
 void setHideIMs(boolean hideIMs)
          Set the value of hideIMs.
 void setHint(String hint)
          Set the value of hint.
 void setMultiplayer(boolean multiplayer)
          Set the value of multiplayer.
 void setName(String name)
          Set the value of name.
 void setServercmd(String servercmd)
          Set the value of servercmd.
 void setURL(String url)
          Set the value of url.
 void setWorkingDirectory(String workingDirectory)
          Set the value of workingDirectory.
 String toString()
          Return this game as a URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Game

public Game()
Creates a new Game.

Method Detail

getName

public String getName()
Get the value of name.

Returns:
value of name.

setName

public void setName(String name)
Set the value of name.

Parameters:
name - Value to assign to name.

getCmd

public String getCmd()
Get the value of cmd.

Returns:
value of cmd.

setCmd

public void setCmd(String cmd)
Set the value of cmd.

Parameters:
cmd - Value to assign to cmd.

getServercmd

public String getServercmd()
Get the value of servercmd.

Returns:
value of servercmd.

setServercmd

public void setServercmd(String servercmd)
Set the value of servercmd.

Parameters:
servercmd - Value to assign to servercmd.

getURL

public String getURL()
Get the value of url.

Returns:
value of url.

setURL

public void setURL(String url)
Set the value of url.

Parameters:
url - Value to assign to url.

getHint

public String getHint()
Get the value of hint.

Returns:
value of hint.

setHint

public void setHint(String hint)
Set the value of hint.

Parameters:
hint - Value to assign to hint.

isMultiplayer

public boolean isMultiplayer()
Get the value of multiplayer.

Returns:
value of multiplayer.

setMultiplayer

public void setMultiplayer(boolean multiplayer)
Set the value of multiplayer.

Parameters:
multiplayer - Value to assign to multiplayer.

go1st

public boolean go1st()
Get the value of go1st.

Returns:
value of go1st.

setGo1st

public void setGo1st(boolean go1st)
Set the value of go1st.

Parameters:
go1st - Value to assign to go1st.

getExecutablePath

public String getExecutablePath()
Get the value of executablePath.

Returns:
value of executablePath.

setExecutablePath

public void setExecutablePath(String executablePath)
Set the value of executablePath.

Parameters:
executablePath - Value to assign to executablePath.

getWorkingDirectory

public String getWorkingDirectory()
Get the value of workingDirectory.

Returns:
value of workingDirectory.

setWorkingDirectory

public void setWorkingDirectory(String workingDirectory)
Set the value of workingDirectory.

Parameters:
workingDirectory - Value to assign to workingDirectory.

getAppPathKey

public String getAppPathKey()
Get the value of appPathKey.

Returns:
value of appPathKey.

setAppPathKey

public void setAppPathKey(String appPathKey)
Set the value of appPathKey.

Parameters:
appPathKey - Value to assign to appPathKey.

isHideIMs

public boolean isHideIMs()
Get the value of hideIMs.

Returns:
value of hideIMs.

setHideIMs

public void setHideIMs(boolean hideIMs)
Set the value of hideIMs.

Parameters:
hideIMs - Value to assign to hideIMs.

toString

public String toString()
Return this game as a URL.

Overrides:
toString in class Object
Returns:
this game as a URL