public RegionBorder(Vector2f position, Vector2f size, Texture borderTexture) : base(position, size) { borderTexture.Repeated = true; BorderComponent = new SpriteComponent(position, size, borderTexture, new Color(255, 255, 255, 255)); BorderComponent.SetScale(new Vector2f(1, 1)); RenderLayer = RenderLayer.RegionBorder; RenderView = RenderView.Game; }