1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- #pragma once
- #include <ReferenceCounter.h>
- class ActiveSkill : public virtual Framework::ReferenceCounter
- {
- protected:
- bool active;
- double time;
- double maxTime;
- double reloadTimeFactor;
- // skill bonus added when active
- double beschleunigungBonus;
- double reparaturBonus;
- double laserIntensityBonus;
- double laserEffizienzBonus;
- double akkuLeistungBonus;
- double maxEnergieBonus;
- double maxStabilityBonus;
- double laserTempoBonus;
- double wendigkeitBonus;
- double antriebEffizienzBonus;
- double energieSchildBonus;
- double energieSchildEffizienzBonus;
- // skil multiplier when active
- double beschleunigungFactor;
- double reparaturFactor;
- double laserIntensityFactor;
- double laserEffizienzFactor;
- double akkuLeistungFactor;
- double maxEnergieFactor;
- double maxStabilityFactor;
- double laserTempoFactor;
- double wendigkeitFactor;
- double antriebEffizienzFactor;
- double energieSchildFactor;
- double energieSchildEffizienzFactor;
- public:
- ActiveSkill();
- ~ActiveSkill();
- void tick( double time );
- bool isActive() const;
- void activate();
- void reset();
- double getBeschleunigungBonus();
- double getReparaturBonus();
- double getLaserIntensityBonus();
- double getLaserEffizienzBonus();
- double getAkkuLeistungBonus();
- double getMaxEnergieBonus();
- double getMaxStabilityBonus();
- double getLaserTempoBonus();
- double getWendigkeitBonus();
- double getAntriebEffizienzBonus();
- double getEnergieSchildBonus();
- double getEnergieSchildEffizienzBonus();
- double getBeschleunigungFactor();
- double getReparaturFactor();
- double getLaserIntensityFactor();
- double getLaserEffizienzFactor();
- double getAkkuLeistungFactor();
- double getMaxEnergieFactor();
- double getMaxStabilityFactor();
- double getLaserTempoFactor();
- double getWendigkeitFactor();
- double getAntriebEffizienzFactor();
- double getEnergieSchildFactor();
- double getEnergieSchildEffizienzFactor();
- };
- class SpeedBoost : public ActiveSkill
- {
- public:
- SpeedBoost();
- };
- class ShieldBoost : public ActiveSkill
- {
- public:
- ShieldBoost();
- };
|