File: weapon_angle.h

package info (click to toggle)
rafkill 1.2.2-3.3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 13,268 kB
  • sloc: cpp: 13,508; makefile: 64; sh: 14
file content (22 lines) | stat: -rw-r--r-- 458 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _angle_h
#define _angle_h

#include "weaponobj.h"

class HullObject;

class Angle:public WeaponNode{
public:
	Angle( int qx, int qy, double kx, double ky, double speed, HullObject * hnew, int al, int _ang );
	// virtual void MoveReal();
	
	virtual void MoveMe( vector< SpaceObject * > * Ammo, const vector< SpaceObject * > * fight, Section * onscreen );

protected:
	double center_x, center_y;
	int ang_vel;
	int ang_accel;
	double speed;
};

#endif