This commit is contained in:
CortexCore
2023-10-29 15:27:13 +08:00
parent c5f638d9d2
commit c7b6ddbf70
73 changed files with 2158 additions and 494 deletions

View File

@@ -1,5 +1,7 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
namespace BITFALL
{
@@ -46,6 +48,23 @@ namespace BITFALL
public const string Horizontal = nameof(Horizontal);
public const string SqrMagnitude = nameof(SqrMagnitude);
}
public static class Command
{
public interface ICommand
{
}
[Serializable]
public struct MoveCommand:ICommand
{
}
[Serializable]
public struct AttackCommand:ICommand
{
}
}
}
}

View File

@@ -13,6 +13,7 @@ namespace BITFALL
public float3 pos;
public quaternion rot;
public float3 forward;
public float CreateTime = BITApp.Time.DeltaTime;
public int InitialForce;
public int startSpeed;
public int initialDamage;

View File

@@ -9,7 +9,9 @@ namespace BITFALL.Entities.Equipment
public interface IEntityEquipment
{
event Action<IBasicItem> OnEquip;
event Action<IBasicItem> OnDeEquip;
event Action<IBasicItem> OnUnEquip;
event Action<string> OnEquipAddressable;
event Action<string> OnUnEquipAddressable;
bool IsSupportItem(IBasicItem item);
void EntryEquip(int index);
void EntryEquip(Func<string,bool> item);

View File

@@ -5,8 +5,6 @@ using BITKit;
namespace BITFALL.Entities.Improvised
{
[Serializable]
public sealed class Improvisable:IProperty{}
public interface ImprovisedServiceInterface
{
public bool IsImprovised { get; }