Interface Game

All Superinterfaces:
Drawable, Playable, Updatable
All Known Implementing Classes:
AreaGame

public interface Game extends Playable, Drawable
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    Getter for the game frame rate

    Methods inherited from interface ch.epfl.cs107.play.engine.Drawable

    draw

    Methods inherited from interface ch.epfl.cs107.play.engine.Playable

    begin, end, getTitle

    Methods inherited from interface ch.epfl.cs107.play.engine.Updatable

    update
  • Method Details

    • getFrameRate

      default int getFrameRate()
      Getter for the game frame rate
      Returns:
      (int): the desired number of frame per second