/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 20:35:53 UTC
  • Revision ID: josh@9ix.org-20110917203553-ix6ixzngvsybetll
visible walls

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
    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;     
21
43
  };
22
44
 
23
45
  class DarkScene : public Scene
28
50
    void Update();
29
51
 
30
52
    LevelEditor *levelEditor;
 
53
    
 
54
    Player *player;
31
55
  };
32
56
 
33
57
  class Text: public Entity