Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RendererBase"/> class.
 /// </summary>
 protected RendererBase()
 {
     //rnd = new Random();
     m_RenderOffset = Point.Zero;
     m_Scale = 1.0f;
     if (CTT != null)
         CTT.Initialize();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Base"/> class.
 /// </summary>
 protected Base()
 {
     //rnd = new Random();
     m_RenderOffset = Point.Empty;
     Scale          = 1.0f;
     if (CTT != null)
     {
         CTT.Initialize();
     }
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Renderer"/> class.
 /// </summary>
 protected Renderer()
 {
     //rnd = new Random();
     m_RenderOffset = new Vector2i(0, 0);
     Scale          = 1.0f;
     if (CTT != null)
     {
         CTT.Initialize();
     }
 }