/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 03:16:50 UTC
  • Revision ID: josh@9ix.org-20110917031650-z4zm6jm68luxs400
bare necessary assets

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"
4
5
 
5
6
using namespace Monocle;
6
7
 
15
16
    Vector2 velocity;
16
17
 
17
18
    SpriteAnimation *sprite;
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;     
 
19
 
 
20
    float const VELOCITY;
42
21
  };
43
22
 
44
23
  class DarkScene : public Scene