summaryrefslogtreecommitdiff
path: root/Runtime/Lua/LuaBind/LuaBindHelper.h
blob: 86fcb13e7c60ee82665bd613a2aea8762c651ae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _LUA_BIND_HELPER_H
#define _LUA_BIND_HELPER_H

namespace LuaBind 
{
    class UIDGenerator
    {
    public:
        UIDGenerator() { m_Cur = 0; }
        int GetID() { return ++m_Cur; }

    private:
        int m_Cur;
    };
};

#endif