Simple Nano Circuit 0.0.2
InductorObject.h
1#ifndef _InductorObject_H_
2#define _InductorObject_H_
3
4#include <SDL.h>
5#include "../BaseIcObject.h"
6#include "../symbols/inductor.c"
7
9{
10 private:
11 void init() override;
12 void setupFootPins() override;
13
14 struct StoreData
15 {
16 ICType id;
17 SDL_Point centerPos;
18 int rotateNumber;
19 int mirrowNumber;
20 };
21 StoreData storeData;
22
23 public:
26 InductorObject(const unsigned char*, AsgardClass*);
28
29 const ICType getType() const override {return ICType::Inductor;}
30
31 BaseElectronObject* deepDuplicateSelf() override;
32
33 bool havePopupWindow() override {return false;}
34 const char* popupWindowName() const override {return "";}
35 void CreateImGuiForm() override {return;};
36
37 void saveToFile(std::ofstream&) override;
38};
39
40#endif
Definition: AsgardClass.h:17
Definition: BaseElectronObject.h:13
Definition: BaseIcObject.h:11
Definition: InductorObject.h:9