mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Legger til manglende metoder i IDrawableGame
This commit is contained in:
parent
07e2c8e5a4
commit
3add398a16
@ -7,6 +7,18 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
public interface IDrawableGame {
|
public interface IDrawableGame {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the screen width of the game
|
||||||
|
* @return A positive integer
|
||||||
|
*/
|
||||||
|
int getWidth();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the screen height of the game
|
||||||
|
* @return A positive integer
|
||||||
|
*/
|
||||||
|
int getHeight();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a list of objects which are to be rendered
|
* Gets a list of objects which are to be rendered
|
||||||
* @return A list of drawable objects in the order they are to be drawn
|
* @return A list of drawable objects in the order they are to be drawn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user