Wiki

Clone wiki

RogueSharp / RogueSharp / IMap / Copy_1

IMapCopy Method (IMap, Int32, Int32)

Copies the Cell properties of a smaller source Map into this destination Map at the specified location

Namespace: RogueSharp
Assembly:

Syntax

void Copy(
    IMap sourceMap,
    int left,
    int top
)

Parameters

sourceMap

Type: RogueSharpIMap
An IMap which must be of smaller size and able to fit in this destination Map at the specified location

left

Type: SystemInt32
Optional parameter defaults to 0 if not provided. X location of the Cell to start copying parameters to, starting with 0 as the farthest left

top

Type: SystemInt32
Optional parameter defaults to 0 if not provided. Y location of the Cell to start copying parameters to, starting with 0 as the top

See Also

Reference

IMap Interface
RogueSharp Namespace

[3]: 2014-2016 Faron Bracy

Updated