This commit is contained in:
parent
c2e12f8c57
commit
1d72f15761
3 changed files with 195 additions and 0 deletions
42
source/projectl/projectl.h
Normal file
42
source/projectl/projectl.h
Normal file
|
@ -0,0 +1,42 @@
|
|||
/*=========================================================================
|
||||
|
||||
projectl.h
|
||||
|
||||
Author: CRB
|
||||
Created:
|
||||
Project: Spongebob
|
||||
Purpose:
|
||||
|
||||
Copyright (c) 2000 Climax Development Ltd
|
||||
|
||||
===========================================================================*/
|
||||
|
||||
#ifndef __PROJECTL_PROJECTL_H__
|
||||
#define __PROJECTL_PROJECTL_H__
|
||||
|
||||
#include "Game/Thing.h"
|
||||
#include "Gfx/Skel.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
class CProjectile : public CThing
|
||||
{
|
||||
public:
|
||||
void init();
|
||||
void init( DVECTOR initPos, s16 initHeading );
|
||||
void shutdown();
|
||||
void think(int _frames);
|
||||
virtual void render();
|
||||
void processEvent( GAME_EVENT evt, CThing *sourceThing );
|
||||
|
||||
protected:
|
||||
DVECTOR getScreenOffset();
|
||||
|
||||
class SpriteBank *m_spriteBank;
|
||||
s16 m_heading;
|
||||
s32 m_lifetime;
|
||||
};
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue