Initial Commit
This commit is contained in:
15
Parts/NandGate.h
Normal file
15
Parts/NandGate.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef NANDGATE_H
|
||||
#define NANDGATE_H
|
||||
|
||||
#include "../Part.h"
|
||||
|
||||
class NandGate : public Part
|
||||
{
|
||||
public:
|
||||
NandGate(Logic* logic);
|
||||
|
||||
QVector<bool> compute(QVector<bool> inputs) override;
|
||||
QPainterPath symbolPainterPath(QRect limits) override;
|
||||
};
|
||||
|
||||
#endif // NANDGATE_H
|
||||
Reference in New Issue
Block a user