PIbd-21 Belianin N.N. LabWork03 Hard #4
@ -52,10 +52,10 @@ public class DrawingArmoVehicle {
|
||||
_startPosY = Math.min(y, _pictureHeight - _TankHeight);
|
||||
}
|
||||
|
||||
public int GetPosX (){ return _startPosX; }
|
||||
public int GetPosY (){ return _startPosY; }
|
||||
public int GetWidth (){ return _TankWidth; }
|
||||
public int GetHeight (){ return _TankHeight; }
|
||||
public int GetPosX () { return _startPosX; }
|
||||
public int GetPosY () { return _startPosY; }
|
||||
public int GetWidth () { return _TankWidth; }
|
||||
public int GetHeight () { return _TankHeight; }
|
||||
|
||||
public boolean CanMove(Direction direction) {
|
||||
if (ArmoVehicle == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user