Nostalgia  2.1.5
PutTileAsync Class Reference

Do Map.PutTile() asynchronously. More...

Inheritance diagram for PutTileAsync:
Async

Public Member Functions

 PutTileAsync (Map map, Tile tile, int partsID, bool autoTiling, bool isCreateCellObject, string title, string info)
 It creates a new PutTileAsync. More...
 
void Add (Point2 cellPos, Point2 tilePos)
 Add the position. More...
 
override IEnumerator Process ()
 Method for co-routine that performs processing More...
 
- Public Member Functions inherited from Async
void Discontinue ()
 Discontinue. More...
 

Additional Inherited Members

- Protected Attributes inherited from Async
bool _Discontinuable = false
 
float _Progress
 
bool _IsDone
 
string _Title
 
string _Info
 
- Properties inherited from Async
bool discontinuable [get]
 Flag as to whether it can be discontinued. More...
 
float progress [get]
 progress More...
 
bool isDone [get]
 Whether or not it was completed. More...
 
bool isDiscontinued [get]
 Whether it was discontinued or not. More...
 
string title [get]
 Of processing the contents title More...
 
string info [get]
 Description of the processing content More...
 

Detailed Description

Do Map.PutTile() asynchronously.

To start the process, please call StartCoroutine (PutTileAsync.Process());.

Constructor & Destructor Documentation

PutTileAsync ( Map  map,
Tile  tile,
int  partsID,
bool  autoTiling,
bool  isCreateCellObject,
string  title,
string  info 
)

It creates a new PutTileAsync.

Parameters
mapMap
tileTile
partsIDParts ID
autoTilingWhether or not to perform an auto-tile
titletitle of the processing contents
infoDescription of the processing contents

Member Function Documentation

void Add ( Point2  cellPos,
Point2  tilePos 
)

Add the position.

Parameters
cellPosCell position
tilePosTile position
override IEnumerator Process ( )
virtual

Method for co-routine that performs processing

To start the process, please call StartCoroutine(PutTileAsync.Process());.

Implements Async.