Ignore:
Timestamp:
Aug 21, 2010, 4:20:33 AM (11 years ago)
Author:
sam
Message:

Rename "asset" to "entity". It's way cooler.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/entity.h

    r146 r147  
    55
    66//
    7 // The Asset class
     7// The Entity class
    88// ---------------
    9 // Assets are objects that can be ticked by the game loop and/or the render
    10 // loop. Assets are implemented as one or several linked lists. See the
     9// Entities are objects that can be ticked by the game loop and/or the render
     10// loop. Entities are implemented as one or several linked lists. See the
    1111// Ticker class for the ticking logic and the linked list implementation.
    1212//
    1313
    14 #if !defined __DH_ASSET_H__
    15 #define __DH_ASSET_H__
     14#if !defined __DH_ENTITY_H__
     15#define __DH_ENTITY_H__
    1616
    1717#include <stdint.h>
    1818
    19 class Asset
     19class Entity
    2020{
    2121    friend class Ticker;
     
    3838    Group;
    3939
    40     Asset();
    41     virtual ~Asset();
     40    Entity();
     41    virtual ~Entity();
    4242
    4343    virtual Group GetGroup();
     
    4646    virtual void TickRender(float delta_time);
    4747
    48     Asset *next;
     48    Entity *next;
    4949    int ref, destroy;
    5050
     
    6262};
    6363
    64 #endif // __DH_ASSET_H__
     64#endif // __DH_ENTITY_H__
    6565
Note: See TracChangeset for help on using the changeset viewer.