Updated What are Scenarios (markdown)

Ad5001 2016-06-10 19:28:10 +02:00
parent a6fbbc7c75
commit a8b7079ff4

@ -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 {
> }`
>
>}