Package mindustry.type
Class PayloadSeq
java.lang.Object
mindustry.type.PayloadSeq
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(UnlockableContent block) void
add
(UnlockableContent block, int amount) boolean
any()
void
clear()
boolean
contains
(Seq<PayloadStack> stacks) boolean
contains
(UnlockableContent block) boolean
contains
(UnlockableContent block, int amount) boolean
contains
(PayloadStack stack) int
get
(UnlockableContent block) boolean
isEmpty()
void
void
remove
(Seq<PayloadStack> stacks) void
remove
(UnlockableContent block) void
remove
(UnlockableContent block, int amount) removeAll
(Boolf<UnlockableContent> pred) int
total()
void
-
Constructor Details
-
PayloadSeq
public PayloadSeq()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
any
public boolean any() -
total
public int total() -
add
-
add
-
remove
-
remove
-
remove
-
removeAll
- Returns:
- this object
-
clear
public void clear() -
get
-
contains
-
contains
-
contains
-
contains
-
write
-
read
-