File: hull_weapon_rotate.cpp

package info (click to toggle)
rafkill 1.2.2-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,268 kB
  • ctags: 5,074
  • sloc: cpp: 13,508; makefile: 64; sh: 14
file content (20 lines) | stat: -rw-r--r-- 428 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
#include "hull_weapon.h"
#include "hull_weapon_rotate.h"
#include "ebox.h"
#include "bitmap.h"

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


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


void Rotate_WHull::Draw( const Bitmap & who, int x, int y ) {
	// circlefill( who, x, y, 10, makecol(255,255,255) );
	who.circleFill( x, y, 10, Bitmap::makeColor(255,255,255) );
}