/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:59:11 UTC
  • Revision ID: josh@9ix.org-20110917035911-wb4a9mw1arfwp2ia
invisible walls and code to bump into them

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
 
21
22
    int const ACCELERATION;    
22
23
  };
23
24
 
24
 
  class Creature : public Entity
25
 
  {
26
 
  public:
27
 
    Creature();
28
 
    void Update();
29
 
 
30
 
    Vector2 velocity;
31
 
    Vector2 direction;
32
 
    float aiTime;
33
 
    std::string state;
34
 
 
35
 
    SpriteAnimation *sprite;
36
 
 
37
 
    int const FRICTION;
38
 
    float const MAXSPEED;
39
 
    int const ACCELERATION;     
40
 
  };
41
 
 
42
25
  class DarkScene : public Scene
43
26
  {
44
27
  public: