mirror of
				https://github.com/DerTyp7/defrain-shooter-unity.git
				synced 2025-10-31 13:37:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			362 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			362 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| 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;
 | |
|     }
 | |
| }
 | 
