Fix up enemy viewer, reduce some memory footprint
This commit is contained in:
42
Zennysoft.Game.Ma/src/player/DummyPlayer.cs
Normal file
42
Zennysoft.Game.Ma/src/player/DummyPlayer.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using Godot;
|
||||
using System;
|
||||
using Zennysoft.Ma.Adapter;
|
||||
|
||||
namespace Zennysoft.Game.Ma;
|
||||
|
||||
public partial class DummyPlayer : CharacterBody3D, IPlayer
|
||||
{
|
||||
public IInventory Inventory { get; }
|
||||
public IHealthComponent HealthComponent { get; }
|
||||
public IVTComponent VTComponent { get; }
|
||||
public IAttackComponent AttackComponent { get; }
|
||||
public IDefenseComponent DefenseComponent { get; }
|
||||
public IExperiencePointsComponent ExperiencePointsComponent { get; }
|
||||
public ILuckComponent LuckComponent { get; }
|
||||
public IEquipmentComponent EquipmentComponent { get; }
|
||||
public bool AutoRevive { get; set; }
|
||||
public int TotalAttack { get; }
|
||||
public int TotalDefense { get; }
|
||||
public int TotalLuck { get; }
|
||||
public int HealthTimerHPRate { get; set; }
|
||||
public float HealthTimerSpeedModifier { get; }
|
||||
public bool AutoIdentifyItems { get; set; }
|
||||
|
||||
public event Action PlayerDied;
|
||||
|
||||
public void Activate() => throw new NotImplementedException();
|
||||
public void ApplyNewAugment(IAugmentItem jewel, IAugmentableItem equipableItem) => throw new NotImplementedException();
|
||||
public void Deactivate() => throw new NotImplementedException();
|
||||
public void Die() => throw new NotImplementedException();
|
||||
public void Equip(IEquipableItem equipable) => throw new NotImplementedException();
|
||||
public void IdentifyItem(IBaseInventoryItem unidentifiedItem) => throw new NotImplementedException();
|
||||
public void Knockback(float impulse) => throw new NotImplementedException();
|
||||
public void LevelUp() => throw new NotImplementedException();
|
||||
public void ModifyHealthTimerSpeed(float newModifier) => throw new NotImplementedException();
|
||||
public void PlayJumpScareAnimation() => throw new NotImplementedException();
|
||||
public void ResetPlayerData() => throw new NotImplementedException();
|
||||
public void SetHealthTimerStatus(bool isActive) => throw new NotImplementedException();
|
||||
public void TakeDamage(AttackData damage) => throw new NotImplementedException();
|
||||
public void TeleportPlayer((Vector3 Rotation, Vector3 Position) newTransform) => throw new NotImplementedException();
|
||||
public void Unequip(IEquipableItem equipable) => throw new NotImplementedException();
|
||||
}
|
||||
1
Zennysoft.Game.Ma/src/player/DummyPlayer.cs.uid
Normal file
1
Zennysoft.Game.Ma/src/player/DummyPlayer.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bc6iu0oq18y2l
|
||||
@@ -548,10 +548,10 @@
|
||||
radius = 1.0
|
||||
height = 3.07596
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_jtmj1"]
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_cqsul"]
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_ebyyx"]
|
||||
material = SubResource("ShaderMaterial_jtmj1")
|
||||
material = SubResource("ShaderMaterial_cqsul")
|
||||
flip_faces = true
|
||||
size = Vector2(2, 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user