Class CreatePerk
- java.lang.Object
-
- CreatePerk
-
public class CreatePerk extends java.lang.ObjectThis class can be used to create pre-defined types of perks, or even random types of specific perks- Version:
- (a version number or a date)
- Author:
- (your name)
-
-
Constructor Summary
Constructors Constructor Description CreatePerk(Puzzle puzzle, int t)Constructor for objects of class CreatePerk where a puzzle perk is createdCreatePerk(Team team, int t)Constructor for objects of class CreatePerk where a team perk is created
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetVars()sets perk behaviour depending on the type.
-
-
-
Constructor Detail
-
CreatePerk
public CreatePerk(Team team, int t)Constructor for objects of class CreatePerk where a team perk is created- Parameters:
Team- team, decides what team to assign the perk to.int- t, the specific type of predefined perk to create.
-
CreatePerk
public CreatePerk(Puzzle puzzle, int t)Constructor for objects of class CreatePerk where a puzzle perk is created- Parameters:
Puzzle- puzzle, decides what puzzle to assign the perk to.int- t, the specific type of predefined perk to create.
-
-