source: trunk/mrpigeon/enemy.cpp @ 1211

Last change on this file since 1211 was 1211, checked in by sam, 9 years ago

mrpigeon: split enemy into red and blue enemies.

  • Property svn:keywords set to Id
File size: 576 bytes
Line 
1//
2// MrPigeon
3//
4// Copyright: (c) 2012 Various People
5//
6
7#if defined HAVE_CONFIG_H
8#   include "config.h"
9#endif
10
11#if USE_SDL && defined __APPLE__
12#   include <SDL_main.h>
13#endif
14
15#include "core.h"
16#include "debug/fps.h"
17
18using namespace std;
19using namespace lol;
20
21#include "mrpigeon.h"
22#include "enemy.h"
23
24Enemy::Enemy(MrPigeon *in_game) :
25    game(in_game)
26{
27}
28
29void Enemy::TickGame(float deltams)
30{
31    WorldEntity::TickGame(deltams);
32
33    deltams *= game->GetSpeed();
34}
35
36void Enemy::TickDraw(float deltams)
37{
38    WorldEntity::TickDraw(deltams);
39}
40
41Enemy::~Enemy()
42{
43}
44
Note: See TracBrowser for help on using the repository browser.