public void CLOSE(object[] args)
{
if (args [0] is GameObject) {
GameObject theme = (args [0] as GameObject);
Voxeme voxComponent = theme.GetComponent<Voxeme> ();
if (voxComponent != null) {
if (voxComponent.voxml.Type.Concavity != "Concave") {
voxComponent.targetPosition = new Vector3 (float.NaN, float.NaN, float.NaN);
return;
}
else {
if (!SatisfactionTest.IsSatisfied (string.Format ("put(lid,on({0}))", (args [0] as GameObject).name))) {
eventManager.InsertEvent (string.Format ("put(lid,on({0}))", (args [0] as GameObject).name), 0);
eventManager.RemoveEvent (1);
return;
}
}
}
}
}