#ifndef ATTACK_H #define ATTACK_H #include "GameConstantsAndTypes.h" #include "PlayerNumber.h" class Song; struct Attack { AttackLevel level; float fStartSecond; // -1 = now float fSecsRemaining; CString sModifier; bool bOn; // for GAMESTATE void GetAttackBeats( const Song *song, PlayerNumber pn, float &fStartBeat, float &fEndBeat ) const; bool IsBlank() { return sModifier.empty(); } void MakeBlank() { sModifier=""; } Attack() { fStartSecond = -1; bOn = false; } }; typedef vector AttackArray; #endif