public class ItemsAndObstacles extends SvgFunction
Constructor and Description |
---|
ItemsAndObstacles() |
Modifier and Type | Method and Description |
---|---|
Document |
addImage(Document readDoc,
double x,
double y,
String file)
At this moment don't use this funktion!!!
|
Document |
label(Document readDoc,
String id,
int x,
int y,
String text,
String rotate) |
Document |
makeAgent(Document readDoc,
String id,
Integer x,
Integer y,
boolean use,
String color) |
Document |
makeBlueStable(Document readDoc,
String id,
int x,
int y,
boolean use,
boolean team,
String rotate) |
Document |
makeCirlce(Document readDoc,
String id,
int x,
int y,
boolean use,
String color)
this method create trees as obstacles
|
Document |
makeCow(Document readDoc,
String id,
int x,
int y,
boolean use,
String rotate) |
Document |
makeCow(Document readDoc,
String id,
String text,
int x,
int y,
boolean use,
String rotate) |
Document |
makeFence(Document readDoc,
String id,
int x,
int y,
boolean use,
String rotate) |
Element |
makeFenceDefs(Document readDoc,
String id) |
Document |
makeGold(Document readDoc,
String id,
int x,
int y,
boolean use,
String rotate) |
Document |
makeGold(Document readDoc,
String id,
String text,
int x,
int y,
boolean use,
String rotate) |
Document |
makeGoldDepot(Document readDoc,
String id,
int x,
int y,
boolean use,
String rotate) |
Document |
makeGoldDepot(Document readDoc,
String id,
String text,
int x,
int y,
boolean use,
String rotate) |
Document |
makeRedStable(Document readDoc,
String id,
int x,
int y,
boolean use,
boolean team,
String rotate) |
Document |
makeSwitch(Document readDoc,
String id,
int x,
int y,
boolean use,
String rotation) |
Document |
makeTrees(Document readDoc,
String id,
int x,
int y,
boolean use,
String rotate)
this method create trees as obstacles
|
Document |
makeTrees(Document readDoc,
String id,
String text,
int x,
int y,
boolean use,
String rotate)
this method create trees with text as obstacles
|
void |
setDimBoxHeight(double dimBoxHeight) |
void |
setDimBoxWidth(double dimBoxWidth) |
funcAddAttribute, funcCircle, funcEllipse, funcLine, funcLine, funcPath, funcPath, funcPolygon, funcPolyline, funcRect, funcText, funcText, rotation
public void setDimBoxHeight(double dimBoxHeight)
public void setDimBoxWidth(double dimBoxWidth)
public Document makeGoldDepot(Document readDoc, String id, int x, int y, boolean use, String rotate)
public Document makeGoldDepot(Document readDoc, String id, String text, int x, int y, boolean use, String rotate)
public Document makeGold(Document readDoc, String id, int x, int y, boolean use, String rotate)
public Document makeGold(Document readDoc, String id, String text, int x, int y, boolean use, String rotate)
public Document makeFence(Document readDoc, String id, int x, int y, boolean use, String rotate)
public Document makeRedStable(Document readDoc, String id, int x, int y, boolean use, boolean team, String rotate)
public Document makeBlueStable(Document readDoc, String id, int x, int y, boolean use, boolean team, String rotate)
public Document makeTrees(Document readDoc, String id, int x, int y, boolean use, String rotate)
readDoc
- is the xml documentid
- identify this objectx
- number of boxes in horizontal directiony
- number of boxes in vertical directionpublic Document makeCirlce(Document readDoc, String id, int x, int y, boolean use, String color)
readDoc
- is the xml documentid
- identify this objectx
- number of boxes in horizontal directiony
- number of boxes in vertical directionpublic Document makeTrees(Document readDoc, String id, String text, int x, int y, boolean use, String rotate)
readDoc
- is the xml documentid
- identify this objecttext
- is the text on the labelx
- number of boxes in horizontal directiony
- number of boxes in vertical directionpublic Document makeCow(Document readDoc, String id, int x, int y, boolean use, String rotate)
public Document makeCow(Document readDoc, String id, String text, int x, int y, boolean use, String rotate)
public Document addImage(Document readDoc, double x, double y, String file)
public Document makeSwitch(Document readDoc, String id, int x, int y, boolean use, String rotation)
Copyright © 2013. All Rights Reserved.