|
|||||||||
| Home >> All >> org >> dma >> ihm >> game >> [ league overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.dma.ihm.game.league
Class LeagueOwner

java.lang.Objectorg.dma.ihm.game.league.LeagueOwner
- All Implemented Interfaces:
- java.io.Serializable
- public abstract class LeagueOwner
- extends java.lang.Object
- implements java.io.Serializable
- extends java.lang.Object
LeagueOwner Is owner of a list of leagues within this (i.e.) country. Doesn't create the leagues himself. Gets them by constructor params.
| Field Summary | |
protected League[] |
leagues
Array of leagues |
private java.lang.String |
name
Name of LeagueOwner |
| Constructor Summary | |
LeagueOwner(java.lang.String name,
League[] leagues)
Constructor (also makes a link into the leagues |
|
| Method Summary | |
abstract void |
endSeason()
Resets all leagues (end Season) |
java.lang.String |
getDescription()
Returns the name of this Owner |
League[] |
getLeagues()
Returns all leagues |
java.lang.String |
getName()
Returns the name of this Owner |
org.dma.ihm.game.player.Player[] |
getPlayers()
Returns all players from all leagues |
java.util.Vector |
getTeams()
Returns all teams from all leagues |
abstract void |
newSeason()
Resets all leagues (new Season) |
java.lang.String |
toString()
Overrides the toString method with something more usefull |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
leagues
protected League[] leagues
- Array of leagues
name
private java.lang.String name
- Name of LeagueOwner
| Constructor Detail |
LeagueOwner
public LeagueOwner(java.lang.String name, League[] leagues)
- Constructor (also makes a link into the leagues
| Method Detail |
getLeagues
public League[] getLeagues()
- Returns all leagues
getTeams
public java.util.Vector getTeams()
- Returns all teams from all leagues
getPlayers
public org.dma.ihm.game.player.Player[] getPlayers()
- Returns all players from all leagues
getName
public java.lang.String getName()
- Returns the name of this Owner
getDescription
public java.lang.String getDescription()
- Returns the name of this Owner
newSeason
public abstract void newSeason()
- Resets all leagues (new Season)
endSeason
public abstract void endSeason()
- Resets all leagues (end Season)
toString
public java.lang.String toString()
- Overrides the toString method with something more usefull
|
|||||||||
| Home >> All >> org >> dma >> ihm >> game >> [ league overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.dma.ihm.game.league.LeagueOwner