File: weapon_chain.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 (19 lines) | stat: -rw-r--r-- 380 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
#include "hull.h"
#include "weapon_chain.h"
#include "weapon_damage.h"

Chain::Chain( int qx, int qy, double kx, double ky, HullObject * hnew, int al ):
Damage_Weapon( qx, qy, kx, ky, 1, hnew, al ){}

/*
void Chain::MoveReal() {
	/ *
	virtualx += dx;
	virtualy += dy;
	actualx = (int)virtualx;
	actualy = (int)virtualy;
	* /
	SpaceObject::MoveReal();
	hull->takeDamage( 1 );
}
*/