Code cleanup.
This commit is contained in:
@@ -42,6 +42,7 @@ namespace Cryville.Crtr {
|
|||||||
EventBus bbus;
|
EventBus bbus;
|
||||||
EventBus tbus;
|
EventBus tbus;
|
||||||
EventBus nbus;
|
EventBus nbus;
|
||||||
|
InputProxy inputProxy;
|
||||||
Judge judge;
|
Judge judge;
|
||||||
bool started = false;
|
bool started = false;
|
||||||
|
|
||||||
@@ -68,8 +69,6 @@ namespace Cryville.Crtr {
|
|||||||
public static Dictionary<Identifier, MotionRegistry> motionRegistry = new Dictionary<Identifier, MotionRegistry>();
|
public static Dictionary<Identifier, MotionRegistry> motionRegistry = new Dictionary<Identifier, MotionRegistry>();
|
||||||
|
|
||||||
public static PdtEvaluator etor;
|
public static PdtEvaluator etor;
|
||||||
|
|
||||||
InputProxy inputProxy;
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region MonoBehaviour
|
#region MonoBehaviour
|
||||||
@@ -234,7 +233,7 @@ namespace Cryville.Crtr {
|
|||||||
readonly StringBuffer logsbuf = new StringBuffer();
|
readonly StringBuffer logsbuf = new StringBuffer();
|
||||||
readonly List<string> logEntries = new List<string>();
|
readonly List<string> logEntries = new List<string>();
|
||||||
int logsLength = 0;
|
int logsLength = 0;
|
||||||
Action<int,string,string> d_addLogEntry;
|
Action<int, string, string> d_addLogEntry;
|
||||||
void AddLogEntry(int level, string module, string msg) {
|
void AddLogEntry(int level, string module, string msg) {
|
||||||
string color;
|
string color;
|
||||||
switch (level) {
|
switch (level) {
|
||||||
|
|||||||
@@ -233,8 +233,8 @@ namespace Cryville.Crtr.Event {
|
|||||||
|
|
||||||
#region ISkinnableGroup
|
#region ISkinnableGroup
|
||||||
public abstract string TypeName { get; }
|
public abstract string TypeName { get; }
|
||||||
public SkinContext SkinContext { get; set; }
|
public SkinContext SkinContext { get; private set; }
|
||||||
public Anchor OpenedAnchor { get; set; }
|
public Anchor OpenedAnchor { get; private set; }
|
||||||
public bool TryGetAnchorsByName(int name, out IReadOnlyCollection<Anchor> result) {
|
public bool TryGetAnchorsByName(int name, out IReadOnlyCollection<Anchor> result) {
|
||||||
List<Anchor> anchors;
|
List<Anchor> anchors;
|
||||||
var ret = Anchors.TryGetValue(name, out anchors);
|
var ret = Anchors.TryGetValue(name, out anchors);
|
||||||
|
|||||||
Reference in New Issue
Block a user