Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 27, 2008, 4:08:51 AM (16 years ago)
Author:
landauf
Message:

many changes, most important: BaseObject takes now a pointer to it's creator which is needed to build a level hierarchy (with different scenes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/overlays/hud/ChatOverlay.cc

    r2012 r2019  
    3939
    4040#include "GraphicsEngine.h"
    41 #include "objects/infos/Level.h"
     41#include "LevelManager.h"
    4242#include "objects/infos/PlayerInfo.h"
    4343#include "overlays/console/InGameConsole.h"
     
    5050    CreateFactory(ChatOverlay);
    5151
    52     ChatOverlay::ChatOverlay()
     52    ChatOverlay::ChatOverlay(BaseObject* creator) : OverlayText(creator)
    5353    {
    5454        RegisterObject(ChatOverlay);
     
    7676            std::string name = "unknown";
    7777
    78             PlayerInfo* player = Level::getClient(senderID);
     78            PlayerInfo* player = LevelManager::getInstance().getClient(senderID);
    7979            if (player)
    8080                name = player->getName();
Note: See TracChangeset for help on using the changeset viewer.