source: trunk/src/dict.h @ 664

Last change on this file since 664 was 221, checked in by sam, 10 years ago

Complete Lol Engine / Deus Hax / Monsterz split.

  • Property svn:keywords set to Id
File size: 724 bytes
Line 
1//
2// Lol Engine
3//
4// Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11//
12// The Dict class
13// --------------
14//
15
16#if !defined __DH_DICT_H__
17#define __DH_DICT_H__
18
19#include "entity.h"
20
21class DictData;
22
23class Dict
24{
25public:
26    Dict();
27    ~Dict();
28
29    int MakeSlot(char const *name);
30    void RemoveSlot(int id);
31
32    void SetEntity(int id, Entity *entity);
33    Entity *GetEntity(int id);
34
35private:
36    DictData *data;
37};
38
39#endif // __DH_DICT_H__
40
Note: See TracBrowser for help on using the repository browser.