/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
 
15
16
    Vector2 velocity;
16
17
 
17
18
    SpriteAnimation *sprite;
18
 
    Entity *dark;
19
 
    AudioDeck *footsteps;
20
 
 
21
 
    int const FRICTION;
22
 
    float const MAXSPEED;
23
 
    int const ACCELERATION;    
24
 
  };
25
 
 
26
 
  class Creature : public Entity
27
 
  {
28
 
  public:
29
 
    Creature();
30
 
    void Update();
31
 
 
32
 
    Vector2 velocity;
33
 
    Vector2 direction;
34
 
    float aiTime;
35
 
    std::string state;
36
 
 
37
 
    SpriteAnimation *sprite;
38
 
    AudioDeck *skitter1;
39
 
 
40
 
    int const FRICTION;
41
 
    float const MAXSPEED;
42
 
    int const ACCELERATION;     
 
19
 
 
20
    float const VELOCITY;
43
21
  };
44
22
 
45
23
  class DarkScene : public Scene
50
28
    void Update();
51
29
 
52
30
    LevelEditor *levelEditor;
53
 
    
54
 
    Player *player;
55
31
  };
56
32
 
57
33
  class Text: public Entity