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:
|
If you know all those, let's start:
|
||||||
First, create a new File that will be your scenario code named **"YOUR_SCENARIO_NAME.php"**.
|
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:
|
Then, you'll need to add the class that will be your main class. So to do that, add some code inside:
|
||||||
><?php
|
`<?php
|
||||||
># This is an example !
|
# This is an example !
|
||||||
>class YOUR_SCENARIO_NAME extends \Ad5001\UHC\scenario\Scenario {
|
class YOUR_SCENARIO_NAME extends \Ad5001\UHC\scenario\Scenario {
|
||||||
>
|
}`
|
||||||
>
|
|
||||||
>}
|
|
||||||
|
|
Loading…
Reference in a new issue