C# Class Frostspark.API.Entities.NPC

Represents a Terraria NPC Entity in the world.
Inheritance: Frostspark.API.Entities.Entity, ITeleportable
Show file Open project: Frostspark/FrostsparkAPI

Public Methods

Method Description
TeleportToEntity ( Frostspark.API.Entities.Entity target, TeleportationInfo info = default ) : void
TeleportToPos ( float x, float y, TeleportationInfo info = default ) : void
TeleportToTile ( int x, int y, TeleportationInfo info = default ) : void

Method Details

TeleportToEntity() public abstract method

public abstract TeleportToEntity ( Frostspark.API.Entities.Entity target, TeleportationInfo info = default ) : void
target Frostspark.API.Entities.Entity
info TeleportationInfo
return void

TeleportToPos() public abstract method

public abstract TeleportToPos ( float x, float y, TeleportationInfo info = default ) : void
x float
y float
info TeleportationInfo
return void

TeleportToTile() public abstract method

public abstract TeleportToTile ( int x, int y, TeleportationInfo info = default ) : void
x int
y int
info TeleportationInfo
return void