-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCheckPoint.cpp
44 lines (42 loc) · 981 Bytes
/
CheckPoint.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#include "CheckPoint.h"
#include "Engine.h"
//================================================================================================//
/********************************************************
** Doesnt really do anything, more like a dummy entity **
*********************************************************/
//================================================================================================//
CheckPoint::CheckPoint()
{
}
void CheckPoint::Spawn(Vec2 pos)
{
IsActive = false;
gpEngine->mPlayer.iSpawnOffset = (int)gpEngine->Scroll;
}
CheckPoint* CheckPoint::Clone()const
{
return new CheckPoint(*this);
}
void CheckPoint::Update()
{
}
void CheckPoint::Draw(const float interp)
{
}
void CheckPoint::NeedsToBeRemoved()
{
}
bool CheckPoint::CheckCollided(Sphere s, float damage)
{
return false;
}
void CheckPoint::LoadFromFile(CFileIO &fIO)
{
}
void CheckPoint::WriteToFile(CFileIO &fIO)
{
}
int CheckPoint::InWater()
{
return 0;
}