File: hull_weapon.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 (22 lines) | stat: -rw-r--r-- 589 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
#include "spaceobj.h"
#include "defs.h"
#include "hull.h"
#include "hull_weapon.h"
#include "ebox.h"

HullWeapon::HullWeapon( int drawnum, int life, double str ):
HullObject( NULL, life, str, 0, 0, 9, false, NULL ){}

/*
bool HullWeapon::Collide( int mx, int my, SpaceObject * check ) {
	if ( collide && check->getHull() && check->getHull()->collide )
		return collide->Collision( check->getHull()->collide, mx, my, check->getX(), check->getY() );
	return check->HitMe( mx, my );
}
*/

/*
bool HullWeapon::hullCollide( ECollide * col, int mx, int my, int ax, int ay ){
	return false;
}
*/