You've already forked Darklings-FightingGame
mirror of
https://github.com/izzy2lost/Darklings-FightingGame.git
synced 2026-03-10 11:35:19 -07:00
20 lines
610 B
C#
20 lines
610 B
C#
using SharedGame;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityGGPO;
|
|
|
|
public class SimulationManager : GameManager
|
|
{
|
|
public override void StartLocalGame()
|
|
{
|
|
StartGame(new LocalRunner(new GameSimulation(GameplayManager.Instance.GetPlayerStats())));
|
|
}
|
|
|
|
public override void StartGGPOGame(IPerfUpdate perfPanel, IList<Connections> connections, int playerIndex)
|
|
{
|
|
var game = new GGPORunner("darklings", new GameSimulation(GameplayManager.Instance.GetPlayerStats()), perfPanel);
|
|
game.Init(connections, playerIndex);
|
|
StartGame(game);
|
|
}
|
|
}
|