Files
itgmania212121/stepmania/src/Inventory.h
T

43 lines
852 B
C++
Raw Normal View History

2003-02-25 00:33:42 +00:00
#ifndef Inventory_H
#define Inventory_H
/*
-----------------------------------------------------------------------------
Class: Inventory
2003-04-07 05:14:27 +00:00
Desc: Inventory management for PLAY_MODE_BATTLE.
2003-02-25 00:33:42 +00:00
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "Actor.h"
#include "PlayerNumber.h"
2003-02-25 02:51:04 +00:00
#include "RageSound.h"
2003-02-25 00:33:42 +00:00
class Inventory : public Actor
2003-02-25 00:33:42 +00:00
{
public:
Inventory();
2003-05-13 13:35:32 +00:00
~Inventory();
void Load( PlayerNumber pn );
2003-02-25 00:33:42 +00:00
virtual void Update( float fDelta );
virtual void DrawPrimitives() {};
2003-04-07 05:14:27 +00:00
void UseItem( int iSlot );
protected:
2003-04-07 05:14:27 +00:00
void AwardItem( int iItemIndex );
PlayerNumber m_PlayerNumber;
int m_iLastSeenCombo;
2003-02-25 02:51:04 +00:00
RageSound m_soundAcquireItem;
2003-05-13 13:35:32 +00:00
vector<RageSound*> m_vpSoundUseItem;
RageSound m_soundItemEnding;
2003-02-25 00:33:42 +00:00
};
#endif