PGE Engine
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Macros
Pages
scenes
level
lvl_bgo.h
1
/*
2
* Platformer Game Engine by Wohlstand, a free platform for game making
3
* Copyright (c) 2015 Vitaly Novichkov <admin@wohlnet.ru>
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef LVL_BGO_H
20
#define LVL_BGO_H
21
22
#include "lvl_base_object.h"
23
#include <data_configs/obj_bgo.h>
24
#include <
PGE_File_Formats/file_formats.h
>
25
26
#include <luabind/luabind.hpp>
27
#include <lua_inclues/lua.hpp>
28
29
class
LVL_Bgo
:
public
PGE_Phys_Object
30
{
31
public
:
32
LVL_Bgo
();
33
~
LVL_Bgo
();
34
void
init();
35
36
void
transformTo_x(
long
id
);
37
38
LevelBGO
data;
//Local settings
39
40
bool
animated;
41
long
animator_ID;
42
43
obj_bgo
* setup;
//Global config
44
45
void
render(
double
camX,
double
camY);
46
bool
isInited();
47
48
/************LUA-Specific functions*********/
49
long
lua_getID();
50
static
luabind::scope bindToLua();
51
/*******************************************/
52
53
private
:
54
bool
_isInited;
55
};
56
57
58
#endif // LVL_BGO_H
obj_bgo
Definition:
obj_bgo.h:25
LevelBGO
Level specific Background object entry structure. Defines preferences of each Background object...
Definition:
lvl_filedata.h:138
LVL_Bgo
Definition:
lvl_bgo.h:29
file_formats.h
PGE File Library.
PGE_Phys_Object
The PGE_Phys_Object class.
Definition:
lvl_base_object.h:51
Generated by
1.8.7