Browse Source

tutorial: add a few missing “override” qualifiers.

legacy
Sam Hocevar 5 years ago
parent
commit
c49bce2b8b
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      doc/tutorial/04_texture.cpp
  2. +1
    -1
      doc/tutorial/05_easymesh.cpp
  3. +1
    -1
      doc/tutorial/06_sprite.cpp

+ 1
- 1
doc/tutorial/04_texture.cpp View File

@@ -80,7 +80,7 @@ public:
return true;
}

virtual void tick_draw(float seconds, Scene &scene)
virtual void tick_draw(float seconds, Scene &scene) override
{
WorldEntity::tick_draw(seconds, scene);



+ 1
- 1
doc/tutorial/05_easymesh.cpp View File

@@ -87,7 +87,7 @@ public:
Ticker::Unref(m_light2);
}

virtual void tick_game(float seconds)
virtual void tick_game(float seconds) override
{
WorldEntity::tick_game(seconds);



+ 1
- 1
doc/tutorial/06_sprite.cpp View File

@@ -46,7 +46,7 @@ public:
Ticker::Unref(m_camera);
}

virtual void tick_game(float seconds)
virtual void tick_game(float seconds) override
{
for (int i = 0; i < SPRITE_COUNT; ++i)
{


Loading…
Cancel
Save