Skip to content

Instantly share code, notes, and snippets.

@PoetaKodu
Created January 28, 2017 20:38
Show Gist options
  • Save PoetaKodu/64316411a947538c7bcaffe942d87a43 to your computer and use it in GitHub Desktop.
Save PoetaKodu/64316411a947538c7bcaffe942d87a43 to your computer and use it in GitHub Desktop.
CGame::CGame() // Konstruktor klasy.
:
m_window(sf::VideoMode(800, 600, 32), "Tworzenie gier - rozszerzalny kod wzorem Unreal Engine 4.", sf::Style::Close)
{
}
/////////////////////////////////////////////////////////
CGame::~CGame() // Destruktor klasy.
{
if(m_window.isOpen())
{
m_window.close();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment