From 8d1566374788e2c612b35d6b95463398a555b54a Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 5 May 2005 19:35:51 +0000 Subject: [PATCH] update comments SVN-Revision: 2412 --- src/game_object.h | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/game_object.h b/src/game_object.h index 8ad6f92b7..b5b986041 100644 --- a/src/game_object.h +++ b/src/game_object.h @@ -25,16 +25,15 @@ class DrawingContext; class ObjectRemoveListener; /** - * Base class for all game objects. This contains functions for: - * -querying the actual type of the object - * -a flag that indicates if the object wants to be removed. Objects with this - * flag will be removed at the end of each frame. This is alot safer than - * having some uncontrollable "delete this" in the code. - * -an action function that is called once per frame and allows the object to - * update it's state. - * - * Most GameObjects will also implement the DrawableObject interface so that - * they can actually be drawn on screen. + * This is a base class for all game objects. Each sector of a level will hold a + * list of active GameObject while the game is played. + * + * This class is responsible for: + * - Updating and Drawing the object. This should happen in the update() and + * draw() functions. Both are called once per frame. + * - Providing a safe way to remove the object by calling the remove_me + * functions. + * - a 32bit bitset for flags... */ class GameObject { -- 2.11.0