~ubuntu-branches/ubuntu/natty/spring/natty

« back to all changes in this revision

Viewing changes to AI/Wrappers/LegacyCpp/AIAI.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2010-09-23 18:56:03 UTC
  • mfrom: (3.1.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20100923185603-st97s5chplo42y7w
Tags: 0.82.5.1+dfsg1-1ubuntu1
* Latest upstream version for online play
* debian/control: Replace (rather than conflict) spring-engine
  - spring-engine will be a dummy package (LP: #612905)
  - also set maintainer to MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#include "AIAI.h"
19
19
#include "Event/AIEvents.h"
20
 
#include "ExternalAI/IGlobalAI.h"
 
20
#include "IGlobalAI.h"
21
21
#include "ExternalAI/Interface/AISEvents.h"
22
22
 
23
23
CAIAI::CAIAI(int teamId, IGlobalAI* gAI):
151
151
                                e = new CAISeismicPingEvent(*((const SSeismicPingEvent*) data));
152
152
                                break;
153
153
                        }
 
154
                        case EVENT_ENEMY_CREATED: {
 
155
                                e = new CAIEnemyCreatedEvent(
 
156
                                                *((const SEnemyCreatedEvent*) data));
 
157
                                break;
 
158
                        }
 
159
                        case EVENT_ENEMY_FINISHED: {
 
160
                                e = new CAIEnemyFinishedEvent(
 
161
                                                *((const SEnemyFinishedEvent*) data));
 
162
                                break;
 
163
                        }
154
164
                        default: {
155
165
                                e = new CAINullEvent();
156
166
                                break;