summaryrefslogtreecommitdiffstats
path: root/Project/Bus.h
blob: 095a72d20898d1d689a69225e66997dadc8a759a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef BUS_H
#define BUS_H

#include "Element.h"

class Bus : public Element
{
   public:
    Bus();
    Bus(wxPoint2DDouble position);
    ~Bus();
    virtual bool Contains(wxPoint2DDouble position) const;
    virtual void Draw(wxPoint2DDouble translation, double scale) const;
    virtual void Rotate();
    virtual wxCursor GetBestPickboxCursor() const;
    virtual void MovePickbox(wxPoint2DDouble position);
    virtual bool PickboxContains(wxPoint2DDouble position);
};

#endif  // BUS_H