Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- draw = function()
- {
- if (scene === 0)
- {
- splash();
- }
- if (scene === 1)
- {
- background(186, 232, 200);
- fill(0, 0, 0);
- rect(360,0,40,400);
- for (var i = 0; i < tiles.length; i++) {
- if (!tiles[i].isMatch) {
- tiles[i].drawFaceDown();
- }
- flippedTiles = [];
- noLoop();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement