Items #3
3
Assets/Scripts/Chars.meta
Normal file
3
Assets/Scripts/Chars.meta
Normal file
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 04b2df800b0845c4bcc95f0b85df5ac8
|
||||
timeCreated: 1639488784
|
22
Assets/Scripts/Chars/Enemy.cs
Normal file
22
Assets/Scripts/Chars/Enemy.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using HexFiled;
|
||||
|
||||
namespace Chars
|
||||
{
|
||||
public class Enemy : IUnit
|
||||
{
|
||||
public void Move(HexCoordinates coordinates)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void Spawn()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void Death()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
3
Assets/Scripts/Chars/Enemy.cs.meta
Normal file
3
Assets/Scripts/Chars/Enemy.cs.meta
Normal file
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0a9b8eff7bb74f8ca38e1d6d8e9a2757
|
||||
timeCreated: 1639488978
|
11
Assets/Scripts/Chars/IUnit.cs
Normal file
11
Assets/Scripts/Chars/IUnit.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using HexFiled;
|
||||
|
||||
namespace Chars
|
||||
{
|
||||
public interface IUnit
|
||||
{
|
||||
public void Move(HexCoordinates coordinates);
|
||||
public void Spawn();
|
||||
public void Death();
|
||||
}
|
||||
}
|
3
Assets/Scripts/Chars/IUnit.cs.meta
Normal file
3
Assets/Scripts/Chars/IUnit.cs.meta
Normal file
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 478a54a7aa274988b997c4f96761e5e4
|
||||
timeCreated: 1639488877
|
24
Assets/Scripts/Chars/Player.cs
Normal file
24
Assets/Scripts/Chars/Player.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using HexFiled;
|
||||
|
||||
namespace Chars
|
||||
{
|
||||
public class Player : IUnit
|
||||
{
|
||||
private HexCoordinates _curentPosition;
|
||||
|
||||
public void Move(HexCoordinates coordinates)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void Spawn()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void Death()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
3
Assets/Scripts/Chars/Player.cs.meta
Normal file
3
Assets/Scripts/Chars/Player.cs.meta
Normal file
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0757c78a3a7349caa9e9ba28aa2d7f57
|
||||
timeCreated: 1639488785
|
19
Assets/Scripts/Chars/PlayerControl.cs
Normal file
19
Assets/Scripts/Chars/PlayerControl.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using Runtime.Controller;
|
||||
|
||||
namespace Chars
|
||||
{
|
||||
public class PlayerControl : IExecute
|
||||
{
|
||||
private Player _player;
|
||||
|
||||
public PlayerControl(Player player)
|
||||
{
|
||||
_player = player;
|
||||
}
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
3
Assets/Scripts/Chars/PlayerControl.cs.meta
Normal file
3
Assets/Scripts/Chars/PlayerControl.cs.meta
Normal file
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2bd7dcb85acf4031bdf9c28ba7289e77
|
||||
timeCreated: 1639489004
|
Loading…
x
Reference in New Issue
Block a user