|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbarsuift.simLife.environment.BasicEnvironment
public class BasicEnvironment
| Constructor Summary | |
|---|---|
BasicEnvironment(EnvironmentState state)
Creates the environment with given state |
|
| Method Summary | |
|---|---|
EnvironmentState |
getState()
|
Sun |
getSun()
|
void |
synchronize()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicEnvironment(EnvironmentState state)
state - the environment state
java.lang.IllegalArgumentException - if the given sun state is null| Method Detail |
|---|
public Sun getSun()
getSun in interface Environmentpublic EnvironmentState getState()
getState in interface Persistent<EnvironmentState>public void synchronize()
synchronize in interface Persistent<EnvironmentState>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||