Updated What are Scenarios (markdown)
parent
a6fbbc7c75
commit
a8b7079ff4
1 changed files with 4 additions and 6 deletions
|
@ -11,9 +11,7 @@ To add a scenario to your UHC game, you need to be in waiting for more players,
|
|||
If you know all those, let's start:
|
||||
First, create a new File that will be your scenario code named **"YOUR_SCENARIO_NAME.php"**.
|
||||
Then, you'll need to add the class that will be your main class. So to do that, add some code inside:
|
||||
><?php
|
||||
># This is an example !
|
||||
>class YOUR_SCENARIO_NAME extends \Ad5001\UHC\scenario\Scenario {
|
||||
>
|
||||
>
|
||||
>}
|
||||
`<?php
|
||||
# This is an example !
|
||||
class YOUR_SCENARIO_NAME extends \Ad5001\UHC\scenario\Scenario {
|
||||
}`
|
||||
|
|
Loading…
Reference in a new issue