Snapshots. Better actions

This commit is contained in:
ThomasCharester committed 2026-10-30 21:48:56 +03:00
1 parent 71bb4c3b5b
commit 31850e77bc
73 files changed
+31948 -80048

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
using Code.OfficeGame.BattleMode.Actions;
namespace Code.Game.Entities
{
public static class EntitySnapshotExtensions
{
public static EntitySnapshot GetSnapshot(this EntityProperties entityProperties)
{
return EntitySnapshot.GetSnapshot(entityProperties);
}
public static void RestoreSnapshot(this EntityProperties entityProperties, EntitySnapshot snapshot)
{
EntitySnapshot.RestoreSnapshot(entityProperties, snapshot);
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 5ee879ec01aa444299cfdf84914718d3
timeCreated: 1793383803