Skip to content

Instantly share code, notes, and snippets.

View Diablo9818's full-sized avatar

Alexander Eroshchenko Diablo9818

View GitHub Profile
class PlayerHealth { }
class Shooter { }
class TargetFollower { }
class UnitContainer
{
public IReadOnlyCollection<Unit> AvailableUnits {get; private set;}
}
public static void CreateObject()
{
//Создание объекта на карте
}
public static void GenerateRandomChance()
{
_chance = Random.Range(0, 100);
}
public static int CalculateSalary(int hoursWorked)
{
public void Shoot(Player player) {}
public string FindBy(int number) {}
public void Enable()
{
_enable = true;
StartEnableAnimation();
}
public void Disable()
{
_enable = false;
Free();
using System.Data;
using System.Reflection;
using System.Runtime.Serialization;
public interface IView
{
public void SetResult(string result);
public void ShowMessage(string message);
}