Пример #1
0
 public SceneRenderElement(WorldPortalConnection _world,Vector2f position, Vector2f Size)
     : base(position,"DefaultScreenRenderElement",true)
 {
     World = _world;
     this.Size = Size;
 }
Пример #2
0
 public SceneRenderElement(WorldPortalConnection _world)
     : base(new SFML.Window.Vector2f(0,0),"DefaultScreenRenderElement",true)
 {
     this.Size = new Vector2f(this.Parent.ScreenManager.Dimensions.X,this.Parent.ScreenManager.Dimensions.Y);
     World = _world;
 }