/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
 
    Entity *dark;
19
 
    AudioDeck *footsteps;
20
19
 
21
20
    int const FRICTION;
22
21
    float const MAXSPEED;
23
22
    int const ACCELERATION;    
24
23
  };
25
24
 
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;     
43
 
  };
44
 
 
45
25
  class DarkScene : public Scene
46
26
  {
47
27
  public:
50
30
    void Update();
51
31
 
52
32
    LevelEditor *levelEditor;
53
 
    
54
 
    Player *player;
55
33
  };
56
34
 
57
35
  class Text: public Entity