Permalink
Browse files

cleanup unused code

  • Loading branch information...
1 parent 868efa9 commit b69f121aa474466a4eeb7e3061155b3d570aeacd @siuying committed Aug 19, 2012
Showing with 1 addition and 12 deletions.
  1. +1 −12 app/block.rb
View
@@ -28,7 +28,7 @@ def group_touch_cancelled
self.opacity = 255
end
- # when touch ended, remove this block
+ # when touch ended, revert color
def group_touch_ended
self.opacity = 255
end
@@ -37,18 +37,7 @@ def to_s
"<Block #{x},#{y} #{bk_color}>"
end
- ## CCNode Life Cycle
-
- def onEnter
- super
- end
-
- def onExit
- super
- end
-
## Override TouchSprite
- # When touch occurs, send events to all blocks with same colors
def touchesBegan(touches, withEvent:event)
App.notification_center.post BLOCK_TOUCH_BEGIN, self

0 comments on commit b69f121

Please sign in to comment.