ITemplateReference.cs :  » Game » RealmForge » RealmForge » Definitions » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » Game » RealmForge 
RealmForge » RealmForge » Definitions » ITemplateReference.cs
using System;
using RealmForge.SceneObjects;

namespace RealmForge.Definitions{
  /// <summary>
  /// Represents a reference to an ISceneObjectTemplate, which together represent an instance of a scene object in the scene graph.
  /// </summary>
  /// <remarks>
  /// The xml files that defines the scene graph such as Realms.xml is comprissed of xml elements that are mapped to classes that implement this interface
  /// It is deserialized into a graph of these template references.  The SceneManager then uses them with the associated templates to instantiate scene object classes and construct
  /// a scene with the same heirarchy as the xml file.
  /// </remarks>
  public interface ITemplateReference {
    /// <summary>
    /// The id of the template that the implementing class is referencing
    /// </summary>
    string Template { get; }
    /// <summary>
    /// The type of scene object and the name of the template group from which the template is found
    /// Type names such as "Entity" may map to different class types or derived classes by plug-ins overriding
    /// the template class and keying it to the xml tag name of the default for Serialization purposes
    /// </summary>
    string SceneObjectType { get; }

    string ID { get; }

    void ApplyReferenceConfiguration(ISceneObject sceneObj);
    void UpdateTo(ISceneObject sceneObj);
  }

}
www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.