Implement effect.
This commit is contained in:
@@ -59,9 +59,6 @@ namespace Cryville.Crtr {
|
||||
foreach (var e in effects) {
|
||||
var effect = e.Value;
|
||||
etor.ContextCascadeInsert();
|
||||
if (effect.args != null) foreach (var i in effect.args) {
|
||||
etor.ContextCascadeUpdate(i.Key, PropSrc.Error);
|
||||
}
|
||||
etor.Optimize(effect.duration);
|
||||
effect.elements.Optimize(etor);
|
||||
etor.ContextCascadeDiscard();
|
||||
@@ -101,7 +98,6 @@ namespace Cryville.Crtr {
|
||||
}
|
||||
|
||||
public class EffectDefinition {
|
||||
public Identifier[] args;
|
||||
public PdtExpression duration;
|
||||
public SkinElement elements;
|
||||
}
|
||||
|
Reference in New Issue
Block a user