17 lines
511 B
C#
17 lines
511 B
C#
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);
|
|
}
|
|
}
|
|
} |