1
0
mirror of https://github.com/inf112-v20/Fiasko.git synced 2025-05-02 00:16:25 +02:00

Legger til manglende metoder i IDrawableGame

This commit is contained in:
Kristian Knarvik 2020-01-31 13:18:30 +01:00
parent 07e2c8e5a4
commit 3add398a16

@ -7,6 +7,18 @@ import java.util.List;
*/
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
* @return A list of drawable objects in the order they are to be drawn