/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:13:10 UTC
  • Revision ID: josh@9ix.org-20110917031310-jb649nt8e2xy0i6k
initial commit

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
 
16
17
 
17
18
    SpriteAnimation *sprite;
18
19
 
19
 
    int const FRICTION;
20
 
    float const MAXSPEED;
21
 
    int const ACCELERATION;    
22
 
  };
23
 
 
24
 
  class Creature : public Entity
25
 
  {
26
 
  public:
27
 
    Creature();
28
 
    void Update();
29
 
 
30
 
    Vector2 velocity;
31
 
    Vector2 direction;
32
 
    float aiTime;
33
 
    std::string state;
34
 
 
35
 
    SpriteAnimation *sprite;
36
 
    AudioDeck *skitter1;
37
 
 
38
 
    int const FRICTION;
39
 
    float const MAXSPEED;
40
 
    int const ACCELERATION;     
 
20
    float const VELOCITY;
41
21
  };
42
22
 
43
23
  class DarkScene : public Scene