/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:32:26 UTC
  • Revision ID: josh@9ix.org-20110917033226-h7qh4w1plypy7wk0
square moving around the screen

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
19
 
20
20
    int const FRICTION;
21
21
    float const MAXSPEED;
22
22
    int const ACCELERATION;    
23
23
  };
24
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;     
42
 
  };
43
 
 
44
25
  class DarkScene : public Scene
45
26
  {
46
27
  public: