Cleaned up includes.
[sdlbotor.git] / OBlueman.cpp
blob54d7041543e90b67b0feb955ffda6d594e77cba6
1 #include "OBlueman.h"
2 #include "Game.h"
3 #include "DTile.h"
5 namespace botor
8 OBlueman::OBlueman( Sint16 X, Sint16 Y ) : Object( X, Y, Object::NUseDrop )
10 graphic = new DTile( &Object::OBJECTS_TILESET, 1 );
12 OBlueman::OBlueman( ) : Object( Object::NUseDrop )
14 graphic = new DTile( &Object::OBJECTS_TILESET, 1 );
17 void OBlueman::OnPickup( Player *p )
19 p->SetImmune( true );
22 void OBlueman::OnDrop( Player *p )
24 p->SetImmune( false );