newCreepType(Image.load("creepimgs/bluecreep.png"),2,2,10)
newCreepType(Image.load("creepimgs/lightbluecreep.png"),2,2,15)
newCreepType(Image.load("creepimgs/bigbluecreep.png"),1,10,50)
newCreepType(Image.load("creepimgs/whitecreep.png"),2,3,20)
newTurretType("BB Gun",5,15,64,1,Image.load("bimgs/smallbullet.png"),Color.new(255,0,0))
newTurretType("Minigun",20,5,64,1,Image.load("bimgs/smallbullet.png"),Color.new(1,1,255))
newTurretType("Sniper",100,60,192,20,Image.load("bimgs/bullet.png"),Color.new(1,225,1))
newTurretType("Torcher",100,1,96,1,Image.load("bimgs/laserdot.png"),Color.new(255,165,1))
newTurretType("Drowner",175,30,96,100,Image.load("bimgs/waterdrop.png"),Color.new(1,255,255))
newCheckpoint(0,0)
newCheckpoint(0,1)
newCheckpoint(2,1)
newCheckpoint(2,0)
newCheckpoint(4,0)
newCheckpoint(4,1)
newCheckpoint(6,1)
newCheckpoint(6,0)
newCheckpoint(8,0)
newCheckpoint(8,4)
newCheckpoint(6,4)
newCheckpoint(6,3)
newCheckpoint(4,3)
newCheckpoint(4,4)
newCheckpoint(2,4)
newCheckpoint(2,3)
newCheckpoint(0,3)
newCheckpoint(0,7)
newCheckpoint(2,7)
newCheckpoint(2,6)
newCheckpoint(4,6)
newCheckpoint(4,7)
newCheckpoint(6,7)
newCheckpoint(6,6)
newCheckpoint(8,6)
newCheckpoint(8,7)
newCheckpoint(11,7)
newCheckpoint(11,5)
newCheckpoint(10,5)
newCheckpoint(10,3)
newCheckpoint(11,3)
newCheckpoint(11,1)
newCheckpoint(10,1)
newCheckpoint(10,0)
addWave(1,10,1,1)
addWave(1,10,2,1)
addWave(1,10,3,1)
addWave(1,10,5,2)
addWave(3,1,5,2)
addWave(1,10,5,3)
addWave(1,10,8,3)
addWave(1,10,10,3)
addWave(1,10,12,4)
addWave(3,1,20,10)
addWave(2,10,15,5)
addWave(2,10,17,5)
addWave(2,10,20,6)
addWave(2,10,25,10)
addWave(3,3,20,10)
addWave(4,5,30,10)
addWave(4,5,30,10)
addWave(4,5,30,10)
addWave(4,5,30,10)
addWave(4,10,50,10)
addWave(3,1,100,10)

lives = 20
money = 90
creepSendInterval = 30
timeBetweenWaves = 750
