YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
PersistentPhysicsCore.cpp
Go to the documentation of this file.
1
#include "
YAPOG/Game/World/Map/Physics/PersistentPhysicsCore.hpp
"
2
3
namespace
yap
4
{
5
PersistentPhysicsCore::PersistentPhysicsCore
()
6
:
PhysicsCore
()
7
{
8
}
9
10
PersistentPhysicsCore::~PersistentPhysicsCore
()
11
{
12
}
13
14
PersistentPhysicsCore::PersistentPhysicsCore
(
15
const
PersistentPhysicsCore
& copy)
16
:
PhysicsCore
(copy)
17
{
18
}
19
20
PersistentPhysicsCore
*
PersistentPhysicsCore::Clone
()
const
21
{
22
return
new
PersistentPhysicsCore
(*
this
);
23
}
24
25
void
PersistentPhysicsCore::HandleApplyForce
(
const
Vector2
& force)
26
{
27
SetVelocity
(
GetVelocity
() + force);
28
}
29
30
void
PersistentPhysicsCore::ResetVelocity
(
const
Time
& dt)
31
{
32
}
33
}
// namespace yap
YAPOG
src
YAPOG
Game
World
Map
Physics
PersistentPhysicsCore.cpp
Generated on Mon Sep 17 2012 22:24:25 for YAPOG by
1.8.1.1