import TrashItemMove from 'roguelike/app/entities/creatures/moves/TrashItemMove.js'
TrashItemMove
Extends:
Move → TrashItemMove
Constructor Summary
Public Constructor | ||
public |
constructor(actorTile: *, itemIndex: *) |
Method Summary
Public Methods | ||
public |
execute(dungeon: *, creature: *) |
|
public |
|
|
public |
getItemIndex(): * |
|
public |
getReasonIllegal(dungeon: *, creature: *): undefined |
|
public |
isSeenBy(dungeon: *, observer: *): * |
Inherited Summary
From class Move | ||
public |
execute(dungeon: *, creature: *) |
|
public |
getActorX(): * |
|
public |
getActorY(): * |
|
public |
|
|
public |
getReasonIllegal(dungeon: *, creature: *) |
|
public |
isSeenBy(dungeon: *, observer: *) |
Public Constructors
public constructor(actorTile: *, itemIndex: *) source
Override:
Move#constructorParams:
Name | Type | Attribute | Description |
actorTile | * | ||
itemIndex | * |
Public Methods
public execute(dungeon: *, creature: *) source
Override:
Move#executeParams:
Name | Type | Attribute | Description |
dungeon | * | ||
creature | * |
public getReasonIllegal(dungeon: *, creature: *): undefined source
Override:
Move#getReasonIllegalParams:
Name | Type | Attribute | Description |
dungeon | * | ||
creature | * |
public isSeenBy(dungeon: *, observer: *): * source
Override:
Move#isSeenByParams:
Name | Type | Attribute | Description |
dungeon | * | ||
observer | * |
Return:
* |