This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func tableView(tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) -> UITableViewCell! { | |
| var cell: UITableViewCell = tableView.dequeueReusableCellWithIdentifier(kCellIdentifier) as UITableViewCell | |
| if cell == nil { | |
| cell = UITableViewCell(style: UITableViewCellStyle.Subtitle, reuseIdentifier: kCellIdentifier) | |
| } | |
| var rowData: NSDictionary = self.tableData[indexPath.row] as NSDictionary | |
| // Add a check to make sure this exists |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func tableView(tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) -> UITableViewCell! { | |
| var cell: UITableViewCell = tableView.dequeueReusableCellWithIdentifier(kCellIdentifier) as UITableViewCell | |
| if cell == nil { | |
| cell = UITableViewCell(style: UITableViewCellStyle.Subtitle, reuseIdentifier: kCellIdentifier) | |
| } | |
| var rowData: NSDictionary = self.tableData[indexPath.row] as NSDictionary | |
| // Add a check to make sure this exists |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func tableView(tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) -> UITableViewCell! { | |
| var cell: UITableViewCell = tableView.dequeueReusableCellWithIdentifier(kCellIdentifier) as UITableViewCell | |
| if cell == nil { | |
| cell = UITableViewCell(style: UITableViewCellStyle.Subtitle, reuseIdentifier: kCellIdentifier) | |
| } | |
| var rowData: NSDictionary = self.tableData[indexPath.row] as NSDictionary | |
| // Add a check to make sure this exists |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| class AnotherClass { | |
| var someVar = 1 | |
| let someConst = 2 | |
| func somePrivateFunc() -> Bool { | |
| return true | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // ViewController.swift | |
| // TestSwift | |
| // | |
| // Created by Jameson Quave on 6/2/14. | |
| // Copyright (c) 2014 JQ Software LLC. All rights reserved. | |
| // | |
| import UIKit | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| class ViewController: UIViewController, UITableViewDataSource, UITableViewDelegate { | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| // Do any additional setup after loading the view, typically from a nib. | |
| } | |
| override func didReceiveMemoryWarning() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jquave@Jamesons-iMac:~/Code/FlatSquishies/Dictionary$ ./clean.rb | |
| Ignoring word bitch because it's profane | |
| Ignoring word bldg because it's not a word | |
| Ignoring word cc because it's not a word | |
| Ignoring word cm because it's not a word | |
| Ignoring word coon because it's profane | |
| Ignoring word db because it's not a word | |
| Ignoring word dick because it's profane | |
| Ignoring word f's because it's not a word | |
| Ignoring word ft because it's not a word |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using System.Reflection; | |
| public class BlockColors { | |
| Color wall = new Color(0,0,0); | |
| Color enemySpawner = new Color(255,0,0); | |
| Color floor = new Color(0, 255, 255); | |
| Color spawnPoint = new Color(0, 255, 0); | |
| Color goal = new Color(255, 255, 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| public class Player : MonoBehaviour { | |
| public int metal = 200; | |
| public int hp = 100; | |
| QInput input; | |
| public GameObject sentryPrefab; | |
| float groundDist = 0.62f; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| public class Enemy : MonoBehaviour { | |
| public int hp = 5; | |
| public GameObject dropPrefab; | |
| public GameObject heartPrefab; | |
| int maxWalkSpeed = 3; | |
| int direction = 3; |