Exemple #1
0
        private static Snapshot GenerateDefaultSnapshot()
        {
            var snapshot = new Snapshot();

            snapshot.AddEntity(FpsEntityTemplates.Spawner(Coordinates.Zero));
            return(snapshot);
        }
Exemple #2
0
        private static Snapshot GenerateSessionSnapshot()
        {
            var snapshot = new Snapshot();

            snapshot.AddEntity(FpsEntityTemplates.Spawner(Coordinates.Zero));
            snapshot.AddEntity(FpsEntityTemplates.DeploymentState());
            return(snapshot);
        }
Exemple #3
0
        private static void GenerateDefaultSnapshot()
        {
            var snapshot = new Snapshot();

            var spawner = FpsEntityTemplates.Spawner();

            snapshot.AddEntity(spawner);

            var SimulatedPlayerCoordinatorTrigger = FpsEntityTemplates.SimulatedPlayerCoordinatorTrigger();

            snapshot.AddEntity(SimulatedPlayerCoordinatorTrigger);

            SaveSnapshot(snapshot);
        }
 private static void GenerateSnapshot(Snapshot snapshot)
 {
     snapshot.AddEntity(FpsEntityTemplates.Spawner(Coordinates.Zero));
 }
Exemple #5
0
        private static void GenerateSnapshot(Snapshot snapshot)
        {
            var spawner = FpsEntityTemplates.Spawner();

            snapshot.AddEntity(spawner);
        }