This commit is contained in:
2024-09-06 17:17:53 +02:00
commit de44ead6db
23 changed files with 1001 additions and 0 deletions

22
src/Junk.h Executable file
View 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