added base team class

This commit is contained in:
DerTyp187
2021-10-19 07:26:40 +02:00
parent c5162f3082
commit add5beeb47
5 changed files with 64 additions and 9 deletions

View File

@@ -0,0 +1,22 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Team
{
private string name;
private int score;
public Team(string _name, int _score)
{
name = _name;
score = _score;
Debug.Log(name + " Team Created!");
}
public string GetTeamName()
{
return name;
}
}