-
-
Notifications
You must be signed in to change notification settings - Fork 364
/
UserMadeTenComments.php
47 lines (40 loc) · 1.04 KB
/
UserMadeTenComments.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/**
* NOTICE OF LICENSE
*
* UNIT3D is open-sourced software licensed under the GNU General Public License v3.0
* The details is bundled with this project in the file LICENSE.txt.
*
* @project UNIT3D
* @license https://choosealicense.com/licenses/gpl-3.0/ GNU General Public License v3.0
* @author HDVinnie
*/
namespace App\Achievements;
use Gstt\Achievements\Achievement;
class UserMadeTenComments extends Achievement
{
/*
* The achievement name
*/
public $name = "10Comments";
/*
* A small description for the achievement
*/
public $description = "Wow! You have already made 10 comments!";
/*
* The amount of "points" this user need to obtain in order to complete this achievement
*/
public $points = 10;
/*
* Triggers whenever an Achiever makes progress on this achievement
*/
public function whenProgress($progress)
{
}
/*
* Triggers whenever an Achiever unlocks this achievement
*/
public function whenUnlocked($progress)
{
}
}