2023-04-02 17:59:15 +02:00
|
|
|
|
2023-07-11 18:18:44 +02:00
|
|
|
|
2023-07-15 13:05:15 +02:00
|
|
|
/*******************************************************************
|
|
|
|
|
** This code is part of Breakout.
|
|
|
|
|
**
|
|
|
|
|
** Breakout is free software: you can redistribute it and/or modify
|
|
|
|
|
** it under the terms of the CC BY 4.0 license as published by
|
|
|
|
|
** Creative Commons, either version 4 of the License, or (at your
|
|
|
|
|
** option) any later version.
|
|
|
|
|
******************************************************************/
|
|
|
|
|
#include "game.hpp"
|
|
|
|
|
|
|
|
|
|
Game::Game(unsigned int width, unsigned int height)
|
|
|
|
|
: State(GAME_ACTIVE), Keys(), Width(width), Height(height)
|
|
|
|
|
{
|
2023-07-11 18:18:44 +02:00
|
|
|
|
|
|
|
|
}
|
2023-04-02 17:59:15 +02:00
|
|
|
|
2023-07-15 13:05:15 +02:00
|
|
|
Game::~Game()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2023-04-02 17:59:15 +02:00
|
|
|
|
2023-07-15 13:05:15 +02:00
|
|
|
void Game::Init()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2023-04-02 17:59:15 +02:00
|
|
|
|
2023-07-15 13:05:15 +02:00
|
|
|
void Game::Update(float dt)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2023-04-02 17:59:15 +02:00
|
|
|
|
2023-07-15 13:05:15 +02:00
|
|
|
void Game::ProcessInput(float dt)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void Game::Render()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2023-04-02 17:59:15 +02:00
|
|
|
|