i6engine
1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
PhysicsFacade.h
Go to the documentation of this file.
1
/*
2
* i6engine
3
* Copyright (2016) Daniel Bonrath, Michael Baer, All rights reserved.
4
*
5
* This file is part of i6engine; i6engine is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2.1 of the License, or (at your option) any later version.
9
*
10
* This library 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 GNU
13
* Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
*/
19
25
#ifndef __I6ENGINE_API_PHYSICSFACADE_H__
26
#define __I6ENGINE_API_PHYSICSFACADE_H__
27
28
#include "
i6engine/utils/i6eSystemParameters.h
"
29
30
#include "boost/function.hpp"
31
32
namespace
i6e
{
33
namespace
math {
34
class
i6eVector;
35
}
/* namespace math */
36
namespace
api {
37
42
class
ISIXE_MODULES_API
PhysicsFacade
{
43
public
:
47
PhysicsFacade
() : _notify() {}
48
52
~PhysicsFacade
() {}
53
58
void
setGravity(
const
math::i6eVector
& vec3Gravity)
const
;
59
63
void
registerNotifyCallback(
const
boost::function<
void
(int64_t)> & f);
64
68
void
notifyNewID(int64_t
id
);
69
73
void
resetSubSystem();
74
78
void
pause()
const
;
79
83
void
unpause()
const
;
84
85
private
:
86
boost::function<void(int64_t)> _notify;
87
91
PhysicsFacade
(
const
PhysicsFacade
&) =
delete
;
92
96
PhysicsFacade
& operator=(
const
PhysicsFacade
&) =
delete
;
97
};
98
99
}
/* namespace api */
100
}
/* namespace i6e */
101
102
#endif
/* __I6ENGINE_API_PHYSICSFACADE_H__ */
103
ISIXE_MODULES_API
#define ISIXE_MODULES_API
Definition:
i6eSystemParameters.h:118
i6e::api::PhysicsFacade::~PhysicsFacade
~PhysicsFacade()
Destructor.
Definition:
PhysicsFacade.h:52
i6e::math::i6eVector
Implements 3-dimensional vectors.
Definition:
i6eVector.h:48
i6e::api::PhysicsFacade
Physics specific functions for the game which targets the whole world - not a single object...
Definition:
PhysicsFacade.h:42
i6eSystemParameters.h
i6e::api::PhysicsFacade::PhysicsFacade
PhysicsFacade()
Contructor.
Definition:
PhysicsFacade.h:47
i6e
Definition:
AutoUpdater.h:34
Projekte
i6engine
libs
i6engine-modules
include
i6engine
api
facades
PhysicsFacade.h
Generated on Mon May 30 2016 17:33:31 for i6engine by
1.8.9.1