init
This commit is contained in:
22
src/Junk.h
Executable file
22
src/Junk.h
Executable file
@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Copyright (C) David Wolfe, 1999. All rights reserved.
|
||||
* Ported to Qt and adapted for TDDD86, 2015.
|
||||
*/
|
||||
|
||||
#ifndef JUNK_H
|
||||
#define JUNK_H
|
||||
|
||||
#include "Unit.h"
|
||||
#include <QGraphicsScene>
|
||||
|
||||
class Junk : public Unit {
|
||||
public:
|
||||
Junk(const Point& p): Unit(p){}
|
||||
|
||||
/*
|
||||
* Draws this junk onto the given QGraphicsScene.
|
||||
*/
|
||||
void draw(QGraphicsScene* scene) const;
|
||||
};
|
||||
|
||||
#endif // JUNK_H
|
Reference in New Issue
Block a user