C# Class FlatRedBall.DeleteSprite

SpriteEditor instruction for deleting a Sprite. This is created whenever a Sprite is deleted so it can be undone.
Inheritance: FrbInstruction
显示文件 Open project: vchelaru/FlatRedBall

Public Methods

Method Description
DeleteSprite ( Sprite referenceSprite ) : System

The reference Sprite is cloned here because some things may change on the Sprite after it is deleted; specifically its attachments.

ToString ( ) : string

Method Details

DeleteSprite() public method

The reference Sprite is cloned here because some things may change on the Sprite after it is deleted; specifically its attachments.
public DeleteSprite ( Sprite referenceSprite ) : System
referenceSprite Sprite Reference to the Sprite that is being deleted.
return System

ToString() public method

public ToString ( ) : string
return string