File: hull_weapon_pulse_small.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 (11 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
#include "hull_weapon.h"
#include "bitmap.h"
#include "hull_weapon_pulse_small.h"

SmallPulse_WHull::SmallPulse_WHull():
HullWeapon( 0, 1, 1 ){}

void SmallPulse_WHull::Draw( const Bitmap & who, int x, int y ) {
	who.circleFill( x, y, 2, Bitmap::makeColor(0,200,250) );
	who.triangle( x-2, y+2, x+2, y+2, x, y+7, Bitmap::makeColor(90,245,140) );
}