/* This file is part of the Spring engine (GPL v2 or later), see LICENSE.html */

#ifndef LASERCANNON_H
#define LASERCANNON_H

#include "Weapon.h"

class CLaserCannon: public CWeapon
{
	CR_DECLARE(CLaserCannon);
public:
	CLaserCannon(CUnit* owner, const WeaponDef* def);

	void Update();
	void UpdateRange(float val);

private:
	void FireImpl(bool scriptCall);

private:
	float3 color;
};

#endif /* LASERCANNON_H */
