# Schedule: - Object Oriented Programming - JavaScript Object: - Class - Designing Behaviour of Algorithmic Agent - State Transition Diagram
Light Bulb is an Object. It has on/off state as a property. It has methods like switchin on or off. or changing brightness or colour.
## Example2: Traffic Light ![](https://paper-attachments.dropbox.com/s_2A79995F0B39F71A96B26C84C04B8E1D7462CF957623180CF23D048073F08860_1550207852306_TrafficLightFSM1.jpg) ![](https://paper-attachments.dropbox.com/s_2A79995F0B39F71A96B26C84C04B8E1D7462CF957623180CF23D048073F08860_1550207831251_TechnologyForDesign2017+2.jpg)