Page MenuHomePhabricator (Chris)

Barrier.cpp
No OneTemporary

Authored By
Unknown
Size
345 B
Referenced Files
None
Subscribers
None

Barrier.cpp

#include "Barrier.h"
using namespace std;
void Barrier::SetBarrierpos(int x, int y)
{
x_pos = x;
y_pos = y;
}
void Barrier::setLife(int l)
{
life_points = l;
}
Barrier::Barrier()
{
life_points = 5;
active = true;
}
void Barrier::drawIfActive(float x, float y)
{
if (this->active == true)
al_draw_bitmap(CurrentImage, x, y, 0);
}

File Metadata

Mime Type
text/x-c++
Expires
Sun, Nov 15, 6:11 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
110794
Default Alt Text
Barrier.cpp (345 B)

Event Timeline