Добавлено перечисление направления перемещения и исправлены модификаторы доступа на public

This commit is contained in:
Никита Потапов 2023-09-11 13:59:05 +04:00
parent bcda4554e3
commit efcd700b37
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectStormtrooper
{
/// <summary>
/// Направление перемещения
/// </summary>
public enum DirectionType
{
/// <summary>
/// Вверх
/// </summary>
Up = 1,
/// <summary>
/// Вниз
/// </summary>
Down = 2,
/// <summary>
/// Влево
/// </summary>
Left = 3,
/// <summary>
/// Вправо
/// </summary>
Right = 4
}
}

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace ProjectStormtrooper
{
internal class EntityStormtrooper
public class EntityStormtrooper
{
/// <summary>
/// Скорость