GIGA-uwindsor / Pong

A simple pong game done with html canvas
0 stars 0 forks source link

Stub Ball #8

Closed erisco closed 11 years ago

erisco commented 11 years ago

Ball Entity

heinermann commented 11 years ago

What do you mean by Stub methods, comment where implementation will be, and properties/access levels?

erisco commented 11 years ago

Methods for the ball at least include 'update' and 'draw'.

There is a diagram (https://github.com/GIGA-uwindsor/Pong/wiki/Design-&-Architecture) on the wiki outlining responsibilities of the Ball. By 'comment where the implementation will be', I'm saying to leave a comment in each method stating which responsibility needs to be taken care of. If the responsibility spans multiple methods, just put a comment at the top of the file. This is merely serving to translate the diagram into some code that we can work on.

Properties refer to GFW_Property, or custom getters and setters. Either case, it is simply an encapsulated field. Access levels refer to private, protected, and public. I forgot to mention this on the coding conventions page, but I'll put it there now.

There is one other accessibility, internal, that is used within the framework, but isn't of concern here.

erisco commented 11 years ago

Resolved by commit 7d2fd6e03fca7c17197636b56773d48006d2db93