Search
Preparing search index...
The search index is not available
Overmind
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
TaskWithdrawAll
Class TaskWithdrawAll
Hierarchy
Task
TaskWithdrawAll
Index
Constructors
constructor
Properties
_creep
_parent
_target
data
name
options
settings
target
tick
task
Name
Accessors
creep
eta
is
Working
manifest
parent
proto
target
Manifest
target
Pos
target
Pos
Manifest
Methods
finish
fork
is
Valid
is
Valid
Target
is
Valid
Task
move
ToNext
Pos
move
ToTarget
run
work
Constructors
constructor
new
Task
Withdraw
All
(
target
:
withdrawAllTargetType
, options
?:
TaskOptions
)
:
TaskWithdrawAll
Parameters
target:
withdrawAllTargetType
Default value
options:
TaskOptions
= {} as TaskOptions
Returns
TaskWithdrawAll
Properties
_creep
_creep
:
object
Type declaration
_parent
_parent
:
protoTask
|
null
_target
_target
:
object
Type declaration
data
data
:
TaskData
name
name
:
string
options
options
:
TaskOptions
settings
settings
:
TaskSettings
target
target
:
withdrawAllTargetType
tick
tick
:
number
Static
task
Name
task
Name
:
string
Accessors
creep
get
creep
(
)
:
Zerg
set
creep
(
creep
:
Zerg
)
:
void
Returns
Zerg
Parameters
creep:
Zerg
Returns
void
eta
get
eta
(
)
:
number
|
undefined
Returns
number
|
undefined
is
Working
get
isWorking
(
)
:
boolean
Returns
boolean
manifest
get
manifest
(
)
:
Task
[]
Returns
Task
[]
parent
get
parent
(
)
:
Task
|
null
set
parent
(
parentTask
:
Task
|
null
)
:
void
Returns
Task
|
null
Parameters
parentTask:
Task
|
null
Returns
void
proto
get
proto
(
)
:
protoTask
set
proto
(
protoTask
:
protoTask
)
:
void
Returns
protoTask
Parameters
protoTask:
protoTask
Returns
void
target
Manifest
get
targetManifest
(
)
:
(
null
|
RoomObject
)
[]
Returns
(
null
|
RoomObject
)
[]
target
Pos
get
targetPos
(
)
:
RoomPosition
Returns
RoomPosition
target
Pos
Manifest
get
targetPosManifest
(
)
:
RoomPosition
[]
Returns
RoomPosition
[]
Methods
finish
finish
(
)
:
void
Returns
void
fork
fork
(
newTask
:
Task
)
:
Task
Parameters
newTask:
Task
Returns
Task
is
Valid
is
Valid
(
)
:
boolean
Returns
boolean
is
Valid
Target
is
Valid
Target
(
)
:
boolean
Returns
boolean
is
Valid
Task
is
Valid
Task
(
)
:
boolean
Returns
boolean
move
ToNext
Pos
move
ToNext
Pos
(
)
:
number
|
undefined
Returns
number
|
undefined
move
ToTarget
move
ToTarget
(
range
?:
number
)
:
number
Parameters
Default value
range:
number
= this.settings.targetRange
Returns
number
run
run
(
)
:
number
|
undefined
Returns
number
|
undefined
work
work
(
)
:
0
|
-1
|
-4
|
-7
|
-9
|
-12
|
-11
|
-6
|
-14
|
-8
|
-15
|
-2
|
-3
|
-5
|
-10
Returns
0
|
-1
|
-4
|
-7
|
-9
|
-12
|
-11
|
-6
|
-14
|
-8
|
-15
|
-2
|
-3
|
-5
|
-10
Globals
Task
Withdraw
All
constructor
_creep
_parent
_target
data
name
options
settings
target
tick
task
Name
creep
eta
is
Working
manifest
parent
proto
target
Manifest
target
Pos
target
Pos
Manifest
finish
fork
is
Valid
is
Valid
Target
is
Valid
Task
move
ToNext
Pos
move
ToTarget
run
work
Generated using
TypeDoc