25 lines
701 B
C#
25 lines
701 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace DepthsOfGreed.HandbookUI
|
|
{
|
|
public enum GateDirection { North, East, South, West }
|
|
public sealed class GateOverviewState
|
|
{
|
|
public GateDirection direction;
|
|
public float health,maxHealth;
|
|
public bool isOpen,underAttack;
|
|
// Increase on every hit. It stays unchanged between snapshots.
|
|
public long hitSequence;
|
|
}
|
|
public sealed class CombatOverviewState
|
|
{
|
|
public string floorName;
|
|
public IReadOnlyList<GateOverviewState> gates=Array.Empty<GateOverviewState>();
|
|
}
|
|
public interface ICombatOverview
|
|
{
|
|
CombatOverviewState ReadCombatOverview();
|
|
}
|
|
}
|