Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 13, 2005, 7:03:05 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: the crosshair now renders as element2d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapons/crosshair.h

    r4836 r4849  
    88#define _CROSSHAIR_H
    99
     10#include "p_node.h"
     11#include "element_2d.h"
    1012#include "event_listener.h"
    11 #include "p_node.h"
     13
    1214#include "vector.h"
     15
    1316
    1417// FORWARD DEFINITION
     
    1821
    1922//! A class that enables the
    20 class Crosshair : public PNode, public EventListener {
     23class Crosshair : public PNode, public Element2D, public EventListener {
    2124
    2225 public:
     
    3336
    3437  virtual void process(const Event &event);
    35   void tick(float dt);
    36   void draw();
     38  virtual void tick(float dt);
     39  virtual void draw() const;
    3740
    3841 private:
Note: See TracChangeset for help on using the changeset viewer.