Showing posts with label Object Oriented Design. Show all posts
Showing posts with label Object Oriented Design. Show all posts
Monday, 16 September 2013
Method parameters
For run to work it requires the agility and stamina data, both of which are ints.
For jump to work it requires the agility data, which is an int.
Tuesday, 20 August 2013
Object modelling
TV remote
Attributes: Buttons, Batteries, Brand, Colour
Behaviours: Button press
USB
Attributes: Brand, Colour, USB slot, Data capacity
Behaviours: USB port insert
Phone
Attributes: Numpad, Battery, Sim Card, SD card, Mic, Touch screen
Behaviours: Makes calls, recieves calls, touch sensitive
Attributes: Buttons, Batteries, Brand, Colour
Behaviours: Button press
USB
Attributes: Brand, Colour, USB slot, Data capacity
Behaviours: USB port insert
Phone
Attributes: Numpad, Battery, Sim Card, SD card, Mic, Touch screen
Behaviours: Makes calls, recieves calls, touch sensitive
Subscribe to:
Posts (Atom)