Gorgon Game Engine
Pointer Class Reference

Represents a pointer. More...

Inheritance diagram for Pointer:
[legend]

Public Member Functions

virtual ~Pointer ()
 
- Public Member Functions inherited from Drawable
virtual ~Drawable ()
 
void Draw (TextureTarget &target, const Geometry::Point &p, RGBAf color=RGBAf(1.f)) const
 Draw to the given coordinates. More...
 
void Draw (TextureTarget &target, const Geometry::Pointf &p, RGBAf color=RGBAf(1.f)) const
 Draw to the given coordinates. More...
 
void Draw (TextureTarget &target, float x, float y, RGBAf color=RGBAf(1.f)) const
 Draw to the given coordinates. More...
 
void Draw (TextureTarget &target, int x, int y, RGBAf color=RGBAf(1.f)) const
 Draw to the given coordinates. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Drawable
virtual void draw (TextureTarget &target, const Geometry::Pointf &p, RGBAf color) const =0
 This is the only function that needs to implemented for a drawable. More...
 

Detailed Description

Represents a pointer.

When drawn, pointer should move the image so that the hotspot will be on the given point. If desired, ownership of the image can be transferred to the pointer.

Constructor & Destructor Documentation

◆ ~Pointer()

virtual ~Pointer ( )
virtual

The documentation for this class was generated from the following file: