Made the shop upgrades work

Click a shop upgrade to change its respective value and start a new wave
This commit is contained in:
2024-10-20 20:28:27 -07:00
parent 256b9ba569
commit 4a0eee9c38
5 changed files with 162 additions and 22 deletions

View File

@@ -3,10 +3,14 @@ using UnityEngine;
public class Teo : MonoBehaviour
{
public float health = 100;
public float maxHealth = 100;
public float moveSpeed = 10;
public float swingRange = 3;
public float swingDistance = 10;
public float damageStrength = 10;
public float attackCooldownSeconds = 2;
public float dashDistance = 5;
public float dashCooldownSeconds = 5;
Rigidbody2D controller;
GameState gameState;
float lastAttackTime;