30 lines
496 B
Markdown
30 lines
496 B
Markdown
# IScriptNpc — giriş
|
|
|
|
[← IScriptNpc](index.md) · [← Master](../../wiki.md)
|
|
|
|
mchorse.mappet.api.scripts.user.entities
|
|
|
|
Interface IScriptNpc
|
|
All Superinterfaces:
|
|
|
|
IScriptEntity
|
|
|
|
public interface IScriptNpc
|
|
extends IScriptEntity
|
|
|
|
Mappet's NPC entity interface.
|
|
|
|
function main(c)
|
|
{
|
|
if (c.getSubject().isNpc())
|
|
{
|
|
// Do something with the NPC...
|
|
}
|
|
}
|
|
|
|
|
|
Method Summary
|
|
All Methods Instance Methods Abstract Methods
|
|
|
|
Modifier and Type Method and Description
|