Ejemplo n.º 1
0
    void CreateStaticObjectPrototypes()
    {
        staticObjectsPrototypes = new Dictionary <string, StaticObject> ();

        staticObjectsPrototypes.Add("Wall_Planks",
                                    StaticObject.CreatePrototype(
                                        "Wall_Planks",
                                        0,   // IMPASSABLE
                                        1,   // width
                                        1,   // height
                                        true // links to neighbours
                                        ));

        staticObjectsPrototypes.Add("Door_Simple",
                                    StaticObject.CreatePrototype(
                                        "Door_Simple",
                                        2,
                                        1,    // width
                                        1,    // height
                                        false // links to neighbours
                                        ));
    }