using System;
using System.Collections;
using RealmForge.SceneObjects;
using RealmForge.Controllers;
namespace RealmForge.Definitions.Templates{
/// <summary>
/// A Scene object template and factory for SceneNode's
/// The xml tag defined in the SerializedClass attribute for the derived class should be "nodeFactory"
/// </summary>
[SerializedClass("sceneNode","id")]
public class AxiomSceneNodeTemplate : SceneNodeTemplate
{
public AxiomSceneNodeTemplate()
{
}
#region Methods
public override ISceneObject CreateInstance(string id) {
return new AxiomSceneNode(id);
}
#endregion
}
}
|