LED and Button

I’ve begun diversifying the Module class with two subclasses, LED and Button.  LED will light up and button will cause its connected classes to toggle when pressed.  The green module is the button and the top red one is the LED. Press the button to light the LED.  The bottom two modules are just vanilla modules and don’t do anything for now.

Note: I’ve had to temporarily disable the redrawing of connections.

This movie requires Flash Player 9

Posted in AS3

Leave a Reply

Your email address will not be published. Required fields are marked *