Skip to content

Commit

Permalink
refactor: Removed status effects.
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Status effects should be handled user-side, outside of what CAF needs to do.
  • Loading branch information
christides11 committed Sep 30, 2020
1 parent 1f6d586 commit 1b6076d
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 104 deletions.
11 changes: 0 additions & 11 deletions Assets/CAF/Combat/Interfaces/IStatusEffectable.cs

This file was deleted.

11 changes: 0 additions & 11 deletions Assets/CAF/Combat/Interfaces/IStatusEffectable.cs.meta

This file was deleted.

8 changes: 0 additions & 8 deletions Assets/CAF/Combat/Status Effects.meta

This file was deleted.

19 changes: 0 additions & 19 deletions Assets/CAF/Combat/Status Effects/StatusEffect.cs

This file was deleted.

11 changes: 0 additions & 11 deletions Assets/CAF/Combat/Status Effects/StatusEffect.cs.meta

This file was deleted.

24 changes: 0 additions & 24 deletions Assets/CAF/Combat/Status Effects/StatusEffectDefinition.cs

This file was deleted.

11 changes: 0 additions & 11 deletions Assets/CAF/Combat/Status Effects/StatusEffectDefinition.cs.meta

This file was deleted.

7 changes: 1 addition & 6 deletions Assets/CAF/Entities/EntityManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace CAF.Entities
{
public class EntityManager : SimObject, ITargetable, IStatusEffectable
public class EntityManager : SimObject, ITargetable
{
public EntityInputManager InputManager { get { return entityInput; } }
public EntityStateManager StateManager { get { return entityStateManager; } }
Expand Down Expand Up @@ -116,11 +116,6 @@ public virtual void SetVisualRotation(Vector3 direction)
visual.transform.rotation = Quaternion.LookRotation(direction);
}

public virtual void ApplyStatusEffect(StatusEffectDefinition statusEffect)
{

}

public GameObject GetGameObject()
{
return gameObject;
Expand Down
3 changes: 0 additions & 3 deletions CAF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,9 @@
<Compile Include="Assets\CAF\Combat\Info\HurtInfo3D.cs" />
<Compile Include="Assets\CAF\Combat\Info\HurtInfoBase.cs" />
<Compile Include="Assets\CAF\Combat\Interfaces\IHurtable.cs" />
<Compile Include="Assets\CAF\Combat\Interfaces\IStatusEffectable.cs" />
<Compile Include="Assets\CAF\Combat\Interfaces\ITargetable.cs" />
<Compile Include="Assets\CAF\Combat\Moveset\MovesetAttackNode.cs" />
<Compile Include="Assets\CAF\Combat\Moveset\MovesetDefinition.cs" />
<Compile Include="Assets\CAF\Combat\Status Effects\StatusEffect.cs" />
<Compile Include="Assets\CAF\Combat\Status Effects\StatusEffectDefinition.cs" />
<Compile Include="Assets\CAF\Entities\EntityManager.cs" />
<Compile Include="Assets\CAF\Entities\EntityState.cs" />
<Compile Include="Assets\CAF\Entities\Managers\EntityCombatManager.cs" />
Expand Down

0 comments on commit 1b6076d

Please sign in to comment.