/minild29

To get this branch, use:
bzr branch http://9ix.org/bzr/minild29

« back to all changes in this revision

Viewing changes to Dark.h

  • Committer: Josh C
  • Date: 2011-09-17 15:42:47 UTC
  • Revision ID: josh@9ix.org-20110917154247-vdk48n09rbnrmzgg
footsteps

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include "Monocle.h"
2
2
#include "Graphics/SpriteAnimation.h"
3
3
#include "LevelEditor/LevelEditor.h"
4
 
#include "Graphics/Tilemap.h"
5
4
 
6
5
using namespace Monocle;
7
6
 
16
15
    Vector2 velocity;
17
16
 
18
17
    SpriteAnimation *sprite;
19
 
 
20
 
    float const VELOCITY;
 
18
    AudioDeck *footsteps;
 
19
 
 
20
    int const FRICTION;
 
21
    float const MAXSPEED;
 
22
    int const ACCELERATION;    
 
23
  };
 
24
 
 
25
  class Creature : public Entity
 
26
  {
 
27
  public:
 
28
    Creature();
 
29
    void Update();
 
30
 
 
31
    Vector2 velocity;
 
32
    Vector2 direction;
 
33
    float aiTime;
 
34
    std::string state;
 
35
 
 
36
    SpriteAnimation *sprite;
 
37
    AudioDeck *skitter1;
 
38
 
 
39
    int const FRICTION;
 
40
    float const MAXSPEED;
 
41
    int const ACCELERATION;     
21
42
  };
22
43
 
23
44
  class DarkScene : public Scene