|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrobocode.control.BattlefieldSpecification
public class BattlefieldSpecification
Defines a battlefield
Constructor Summary | |
---|---|
BattlefieldSpecification()
Creates a standard 800 x 600 battlefield |
|
BattlefieldSpecification(int width,
int height)
Creates a battlefield of any width and height. |
Method Summary | |
---|---|
int |
getHeight()
Gets the height of this battlefield. |
int |
getWidth()
Gets the width of this battlefield. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BattlefieldSpecification()
public BattlefieldSpecification(int width, int height)
width
- Width of this battlefieldheight
- Height of this battlefieldMethod Detail |
---|
public int getHeight()
public int getWidth()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |