Last change
on this file since 4983 was
4982,
checked in by bensch, 19 years ago
|
orxonox/trunk: movement stuff in the data-filestructure adapted
|
File size:
691 bytes
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | /* |
---|
4 | orxonox - the future of 3D-vertical-scrollers |
---|
5 | |
---|
6 | Copyright (C) 2004 orx |
---|
7 | |
---|
8 | This program is free software; you can redistribute it and/or modify |
---|
9 | it under the terms of the GNU General Public License as published by |
---|
10 | the Free Software Foundation; either version 2, or (at your option) |
---|
11 | any later version. |
---|
12 | |
---|
13 | ### File Specific: |
---|
14 | main-programmer: Patrick Boenzli |
---|
15 | co-programmer: |
---|
16 | */ |
---|
17 | |
---|
18 | |
---|
19 | //#include "ai.h" |
---|
20 | |
---|
21 | #include "npc.h" |
---|
22 | |
---|
23 | using namespace std; |
---|
24 | |
---|
25 | |
---|
26 | NPC::NPC() |
---|
27 | { |
---|
28 | this->setClassID(CL_NPC, "NPC"); |
---|
29 | |
---|
30 | this->loadModel("models/ships/bolido.obj"); |
---|
31 | } |
---|
32 | |
---|
33 | NPC::~NPC () {} |
---|
34 | |
---|
35 | |
---|
36 | |
---|
37 | /* define the reaction, if the ship is been hit */ |
---|
38 | int NPC::hit() |
---|
39 | { |
---|
40 | die(); |
---|
41 | return 0; |
---|
42 | } |
---|
43 | |
---|
44 | |
---|
45 | void NPC::die() |
---|
46 | { |
---|
47 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.