Skip to main content
7 events
when toggle format what by license comment
May 23, 2017 at 12:41 history edited CommunityBot
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Dec 28, 2014 at 6:00 comment added MORTAL i solved it. it needs shared_ptr rather than unique_ptr to maintain validation of pointer.
Dec 28, 2014 at 4:21 comment added MORTAL i meant when you continue press key up and left for example, the pointer get invalidated. honestly i don't know why. for misplaces, i did for Shape. both of them have same result.
Dec 28, 2014 at 3:55 comment added glampert @MORTAL, what do you mean "unplayable"? It looks OK, though things like rotate and getDot seem misplaced on Clonable. Shouldn't those be part of Shape?
Dec 28, 2014 at 2:55 comment added MORTAL i managed to move all logic to Clonable class instead of Shape class but it becomes unplayable because of the checking for validate shape pointer that i created. here code: gist.github.com/MORTAL2000/0c9baaf4e1fcc5252939
Dec 27, 2014 at 17:55 vote accept MORTAL
Dec 27, 2014 at 17:53 history answered glampert CC BY-SA 3.0