Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private function toggleFlipCheckMarker():void
- {
- for (var i:int = 0; i < boardWidth; i++)
- {
- for (var j:int = 0; j < boardHeight; j++)
- {
- if (gameFieldList[i][j].flipCheck == undefined)
- {
- addChild(gameFieldList[i][j].flipCheck);
- }
- else
- {
- removeChild(gameFieldList[i][j].flipCheck);
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment