/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 19:59:09 UTC
  • Revision ID: josh@9ix.org-20110917195909-v02b0cco0yri61qc
disappear darkness mask in editor mode

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