Open main menu

CDOT Wiki β

Changes

Assignment 2 (Release 0.1): Q & A

302 bytes added, 19:27, 12 October 2012
no edit summary
'''Q:''' How does the capture function work?#<br>
'''A:''' It sets the position to which ever area the character is to receive and calls a method called .get character(). This is a method that was not introduced to zus but it is inside the capture function.<br>
'''Submitted by:''' Shavauhn and Elsi, Team 6<br><br>
 
'''Q:''' Can you call a method on the most derived class if using multiple inheritance and the two bases has the same name?
'''A:''' Yes you can but need need to use :: to deal with the ambiguity between the class. So you would call base::method()<br>
'''Submitted by:''' Shavauhn and Elsi, Team 6<br><br>