This server is intended for use for Academic Classwork related Git repositories only. Projects/repositories will generally be removed after 6 months following close of the semester. Inactive repositories from previous semester are now being archived when no activity for 365 days. They are renamed and marked as 'archived'. After 90 days in that state they will be removed from the system completely.

Commit 86ce57fa authored by pmdv46's avatar pmdv46

finally back where I was lol

parent 909fc378
......@@ -8,7 +8,6 @@ import { GamePlayService } from '../game-play.service';
})
export class ClickComponent {
readonly totalClicks = this.service.pickleCount;
//readonly totalClicks = this.service.getPickles();
readonly clickMulti = this.service.incrementsClicksVal;
upgradeLevel = 'assets/Hamburger.png';
upgradeList = ['assets/Hamburger.png', 'assets/BabyDill.png', 'assets/Spear.png', 'assets/Pickle.png', 'assets/GoldenPickle.png'];
......
......@@ -23,13 +23,12 @@ export class GamePlayService {
}
checkEnough(price) {
if (this.pickleCount >= price) {
if (this.pickles.value >= price) {
return true;
}
return false;
}
async pickleUpgrade(cost) {
this.incrementsClicks.next(this.incrementsClicks.value * 10);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment