예제 #1
0
 // Main constructor:
 public BooleanIndicator(RenderSet render_set, double x, double y)
     : base(render_set, x, y, 1.0, 1.0, null, Texture.Get("sprite_indicator"))
 {
     State = false;
     _Color = new Color4(Color.SkyBlue);
     _NextLayer = new LayeredSprite(render_set, x, y, 1.0, 1.0, null, Texture.Get ("sprite_indicator_gloss"));
 }
예제 #2
0
 // Main constructor:
 public BooleanIndicator(RenderSet render_set, double x, double y) :
     base(render_set, x, y, 1.0, 1.0, null, Texture.Get("sprite_indicator"))
 {
     State      = false;
     _Color     = new Color4(Color.SkyBlue);
     _NextLayer = new LayeredSprite(render_set, x, y, 1.0, 1.0, null, Texture.Get("sprite_indicator_gloss"));
 }
예제 #3
0
 // Main constructor:
 public LayeredSprite(RenderSet render_set, double x, double y, double scalex, double scaley, LayeredSprite next_layer, Texture texture) :
     base(render_set, x, y, scalex, scaley, texture)
 {
     _NextLayer = next_layer;
 }
예제 #4
0
 public LayeredSprite(RenderSet render_set, double scalex, double scaley, LayeredSprite next_layer, Texture texture) :
     this(render_set, 0.0, 0.0, scalex, scaley, next_layer, texture)
 {
 }
예제 #5
0
 public LayeredSprite(RenderSet render_set, LayeredSprite next_layer, Texture texture) :
     this(render_set, 0.0, 0.0, 1.0, 1.0, next_layer, texture)
 {
 }
예제 #6
0
 // Main constructor:
 public LayeredSprite(RenderSet render_set, double x, double y, double scalex, double scaley, LayeredSprite next_layer, Texture texture)
     : base(render_set, x, y, scalex, scaley, texture)
 {
     _NextLayer = next_layer;
 }
예제 #7
0
 public LayeredSprite(RenderSet render_set, double scalex, double scaley, LayeredSprite next_layer, Texture texture)
     : this(render_set, 0.0, 0.0, scalex, scaley, next_layer, texture)
 {
 }
예제 #8
0
 public LayeredSprite(RenderSet render_set, LayeredSprite next_layer, Texture texture)
     : this(render_set, 0.0, 0.0, 1.0, 1.0, next_layer, texture)
 {
 }