MegaMan.LevelEditor.ScreenDocument.RemoveEntity C# (CSharp) Method

RemoveEntity() public method

public RemoveEntity ( Entity entity, Point location ) : void
entity Entity
location Point
return void
        public void RemoveEntity(Entity entity, Point location)
        {
            screen.Layers[0].Entities.RemoveAll(i =>
                i.entity == entity.Name && i.screenX == location.X && i.screenY == location.Y
            );
            Dirty = true;
        }

Same methods

ScreenDocument::RemoveEntity ( EntityPlacement info ) : void