C# Class OTAPI.Tile.DefaultTileCollection

Replicates the default functionality of a normal array.
Inheritance: ITileCollection
Afficher le fichier Open project: DeathCradle/Open-Terraria-API

Protected Properties

Свойство Type Description
_tiles ].ITile[

Méthodes publiques

Méthode Description
this ( int x, int y ) : ITile

Describes the get and set tile accessors that the vanilla server will use

Méthodes protégées

Méthode Description
DefaultTileCollection ( ITile collection ) : System

Initializes a new instance with the specified collection as the underlying source.

Private Methods

Méthode Description
DefaultTileCollection ( ) : System

Replicates the default terraria tile array constructor

GetNewTileCollection ( ) : ].ITile[

Creates a new 2D array instance of ITile using the default Terraria.Tile implementation. This cannot be compiled in the OTAPI solution as the Terraria.Tile will not implement ITile at compile time.

Method Details

DefaultTileCollection() protected méthode

Initializes a new instance with the specified collection as the underlying source.
protected DefaultTileCollection ( ITile collection ) : System
collection ITile
Résultat System

this() public méthode

Describes the get and set tile accessors that the vanilla server will use
public this ( int x, int y ) : ITile
x int
y int
Résultat ITile

Property Details

_tiles protected_oe property

protected ITile[,] _tiles
Résultat ].ITile[