Added interface IDrawingRollers
This commit is contained in:
parent
0abd2c2ca3
commit
fbd46924d1
@ -2,7 +2,7 @@ import java.awt.*;
|
||||
|
||||
public class DrawingArtillery {
|
||||
protected EntityArtillery artillery;
|
||||
protected DrawingRollers drawingRollers;
|
||||
protected IDrawingRollers drawingRollers;
|
||||
protected float _startPosX;
|
||||
protected float _startPosY;
|
||||
private Integer _pictureWidth = null;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import java.awt.*;
|
||||
|
||||
public class DrawingRollers {
|
||||
public class DrawingRollers implements IDrawingRollers {
|
||||
private RollersCount rollersCount;
|
||||
private Color color;
|
||||
|
||||
|
6
IDrawingRollers.java
Normal file
6
IDrawingRollers.java
Normal file
@ -0,0 +1,6 @@
|
||||
import java.awt.*;
|
||||
|
||||
public interface IDrawingRollers {
|
||||
void setRollersCount(int num);
|
||||
void draw(Graphics2D g, int x, int y, int artilleryWidth, int artilleryHeight);
|
||||
}
|
Loading…
Reference in New Issue
Block a user