EOS 2  1.1.0
Einfache Objektbasierte Sprache
BorderColumn.java
gehe zur Dokumentation dieser Datei
1 package de.lathanda.eos.robot;
2 
3 import de.lathanda.eos.base.MutableColor;
4 import de.lathanda.eos.robot.exceptions.CubeMissingException;
5 import de.lathanda.eos.robot.exceptions.CubeNoSpaceException;
6 import de.lathanda.eos.robot.exceptions.RobotException;
7 import de.lathanda.eos.robot.exceptions.RobotVoidException;
8 
9 public class BorderColumn extends Column {
10 
11  @Override
12  public int isReachable(int level, int size, int climb, int fall) {
13  return -1;
14  }
15 
16  @Override
17  public boolean isFree(int level, int size) {
18  return false;
19  }
20 
21  @Override
22  public void dropCube(int level, Cube cube) throws CubeNoSpaceException {
23  throw new CubeNoSpaceException();
24  }
25 
26  @Override
27  public void dropCube(Cube cube) throws CubeNoSpaceException {
28  throw new CubeNoSpaceException();
29  }
30 
31  @Override
32  public MutableColor stoneColor(int level) throws CubeMissingException {
33  throw new CubeMissingException();
34  }
35 
36  @Override
37  public void setMark(boolean mark) throws RobotVoidException {
38  throw new RobotVoidException();
39  }
40 
41  @Override
42  public void pickup() throws RobotException {
43  throw new CubeMissingException();
44  }
45 
46  @Override
47  void pickup(int level) throws RobotException {
48  throw new CubeMissingException();
49  }
50 
51  @Override
52  public boolean isMarked() throws RobotException {
53  throw new RobotVoidException();
54  }
55 
56  @Override
57  public boolean isMarked(MutableColor c) throws RobotException {
58  throw new RobotVoidException();
59  }
60 
61  @Override
63  throw new RobotVoidException();
64  }
65 
66  @Override
67  public void setMark() throws RobotException {
68  throw new RobotVoidException();
69  }
70 
71  @Override
72  public void setMark(MutableColor c) throws RobotException {
73  throw new RobotVoidException();
74  }
75 
76  @Override
77  public void toggleMark() throws RobotException {
78  throw new RobotVoidException();
79  }
80 
81  @Override
82  public void toggleMark(MutableColor c) throws RobotException {
83  throw new RobotVoidException();
84  }
85 
86  @Override
87  public void removeCube(int level) throws RobotException {
88  throw new CubeMissingException();
89  }
90 
91  @Override
92  public boolean hasCube() throws RobotException {
93  return false;
94  }
95 
96  @Override
97  public boolean hasCube(int n) throws RobotException {
98  return false;
99  }
100 
101  @Override
102  public void setCube(int level, Cube cube) throws RobotException {
103  throw new CubeNoSpaceException();
104  }
105 
106  @Override
107  public Cube[] getCubes() throws RobotException {
108  throw new CubeMissingException();
109  }
110 
111  @Override
112  public void remove(int level) throws RobotException {
113  throw new CubeMissingException();
114  }
115 
116 }
boolean isMarked(MutableColor c)
boolean isFree(int level, int size)
int isReachable(int level, int size, int climb, int fall)
void setCube(int level, Cube cube)
MutableColor stoneColor(int level)
void dropCube(int level, Cube cube)
Impressum