public DrawableInstance ( IGameDrawable drawable ) : System | ||
drawable | IGameDrawable | |
return | System |
public DrawableInstance(IGameDrawable drawable)
{
this.StartTimeMS = 0;
this.Drawable = drawable;
this.Visible = true;
this.Rotation = 0;
this.Color = Color.White;
this.SpriteEffects = SpriteEffects.None;
this.Layer = 0;
this.Offset = Vector2.Zero;
this.ScaleX = 1.0f;
this.ScaleY = 1.0f;
}