Initial Commit

This commit is contained in:
2026-04-01 15:46:15 +01:00
commit 72ae178fd1
12270 changed files with 3639153 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
using UnityEngine;
public class AttackPoint : MonoBehaviour
{
[SerializeField] private int maxAttackers;
private int curAttackers;
private bool isFull;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public bool CheckIfFull()
{
if(curAttackers >= maxAttackers)
isFull = true;
else
isFull = false;
return isFull;
}
public void AddAttacker()
{
curAttackers++;
}
public void RemoveAttacker()
{
curAttackers--;
}
}