File: hull_weapon_angle.cpp

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 (21 lines) | stat: -rw-r--r-- 409 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
#include "hull_weapon.h"
#include "hull_weapon_angle.h"
#include "ebox.h"
#include "bitmap.h"

Angle_WHull::Angle_WHull( int str, int _color, ECollide * ec ):
HullWeapon( 0, 1, str ),
color( _color ) {
	collide = ec;
}


Angle_WHull::~Angle_WHull() {
	delete collide;
}


void Angle_WHull::Draw( const Bitmap & who, int x, int y ) {
	// circlefill( who, x, y, 2, color );
	who.circleFill( x, y, 2, color );
}