Example #1
0
    public void Initialize()
    {
        CreateRandomWalls();

        GameEntity astronut = _contexts.game.CreateEntity();

        astronut.AddResource(Prefab.AstroNut);
        astronut.AddAstronut("AstroNut");
        astronut.AddPosition(0, -3f);
        astronut.AddMovement(Direction.RIGHT);
        // FIXME Add restriction
        astronut.isControllable = true;
    }