Updated What are Scenarios (markdown)

Ad5001 2016-06-10 19:29:27 +02:00
parent a8b7079ff4
commit c4d7775f54

@ -10,8 +10,8 @@ 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 {
}` }