-/*
- * Gauge.h
- *
- * Created on: Aug 7, 2012
- * Author: holy
- */
-
#ifndef GRAPHICS_GAUGE_H_
#define GRAPHICS_GAUGE_H_
class Gauge {
+ public:
+ static const int TYPE_ID = 406;
+
public:
explicit Gauge(SDL_Surface *s = 0, int fullX = 0, int fullY = 0, int emptyX = 0, int emptyY = 0, int height = 1, int startWidth = 0, int repeatWidth = 1, int endWidth = 0)
: surface(s), fullOffset(fullX, fullY), emptyOffset(emptyX, emptyY), height(height), startWidth(startWidth), repeatWidth(repeatWidth), endWidth(endWidth) { }