Game Development Reference
In-Depth Information
Figure 10-4. Both blueSquare and redSquare share the same base class:
DragableObject.
DragableObject class
The code that makes both objects work is the @n]c]^haK^fa_p class:
l]_g]ca
w
eilknpbh]od*`eolh]u*Ikrea?hel7
eilknpbh]od*arajpo*Arajp7
eilknpbh]od*arajpo*IkqoaArajp7
lq^he__h]oo@n]c]^haK^fa_patpaj`oIkrea?hel
w
++Ejepe]hevar]ne]^hao
lner]par]n[eo@n]ccejc6>kkha]j7
 
Search Nedrilad ::




Custom Search