Improvements to save and loading
Improvements to Chinthe animation logic Fix broken Godot Tool system and just use a more manual approach to setting map nodes Remove ItemDatabase from individual room scenes
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Chickensoft.Collections;
|
||||
using Chickensoft.Serialization;
|
||||
using System;
|
||||
using Zennysoft.Ma.Adapter;
|
||||
|
||||
@@ -7,10 +6,8 @@ namespace Zennysoft.Game.Ma;
|
||||
|
||||
public class HealthComponent : IHealthComponent
|
||||
{
|
||||
[Save("current_hp")]
|
||||
public IAutoProp<int> CurrentHP => _currentHP;
|
||||
|
||||
[Save("maximum_hp")]
|
||||
public IAutoProp<int> MaximumHP => _maximumHP;
|
||||
|
||||
private readonly AutoProp<int> _currentHP;
|
||||
|
||||
Reference in New Issue
Block a user