C# Class Gruppe22.Backend.ItemTile

A class used to manage items laying on the floor of a room.
Inheritance: Tile
Exibir arquivo Open project: propra13-orga/gruppe22 Class Usage Examples

Public Methods

Method Description
ItemTile ( object parent ) : System
ItemTile ( object parent, Item item ) : System

Constructor.

Save ( XmlWriter xmlw ) : void

Method save the ItemTile in a .xml file. Just writes a start tag and calls the save method for the item.

Method Details

ItemTile() public method

public ItemTile ( object parent ) : System
parent object
return System

ItemTile() public method

Constructor.
public ItemTile ( object parent, Item item ) : System
parent object
item Item The item to place on the ItemTile
return System

Save() public method

Method save the ItemTile in a .xml file. Just writes a start tag and calls the save method for the item.
public Save ( XmlWriter xmlw ) : void
xmlw System.Xml.XmlWriter Xmlwriter
return void