inda19plusplus / logik

Logisim clone
MIT License
2 stars 5 forks source link

Gates #6

Closed weerox closed 4 years ago

weerox commented 4 years ago

Properties required for gates:

weerox commented 4 years ago

The gate should probably also have a Type property which defines whether it is an AND, OR, XOR etc.

NogginBops commented 4 years ago

Closing this as there is a working representation of gates. Currently gates are represented in the front-end with:

ID: An ID to identify the component instance between the backend and frontend.
Type: The type of the component e.g And, Not, etc.
Position: The position of the origin of the component.
Orientation: The orientation of the component.

We can open an issue if we want to change anything regarding this.