Pull up StampedEvent.Temporary. Fix temporary event discarding.
This commit is contained in:
@@ -29,8 +29,19 @@ namespace Cryville.Crtr {
|
||||
}
|
||||
}
|
||||
|
||||
public class Anchor : StampedEvent {
|
||||
public class Temporary : StampedEvent, IComparable<Temporary> {
|
||||
public bool CanDiscard;
|
||||
public int CompareTo(Temporary other) {
|
||||
return base.CompareTo(other);
|
||||
}
|
||||
}
|
||||
|
||||
public class Anchor : Temporary {
|
||||
public CAnchor Target;
|
||||
int m_priority;
|
||||
public override int Priority { get { return m_priority; } }
|
||||
public void SetPriority(int value) { m_priority = value; }
|
||||
}
|
||||
public override int Priority {
|
||||
get { return 0; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user