public ActorEd CreateTextActor( int id ) { ActorEd actor = new ActorEd( this ); actor.ID = id; actor.Scale = this._scale; actor.Rotation = this._rotation; actor.Origin = Vector2.Zero; actor.Text = _text; actor.TextColor = _textColor; actor.UpdateBounds( ); actor.Tags = new string[] { this._name }; return actor; }
public ActorEd Clone( ) { ActorEd actor = new ActorEd( _parent ); actor._origin = this._origin; actor._pos = this._pos; actor._scale = this._scale; actor._rotation = this._rotation; actor._sprite = this._sprite; actor._visible = this._visible; actor._text = this._text; actor._textColor = this._textColor; actor._name = this._name; actor._id = this._id; actor.UpdateBounds( ); return actor; }