Exemple #1
0
    private void BindBasicBuildingActions()
    {
        ActionList = new List <PlaceableAction>();

        BasicBuildingAction firstAction = new BasicBuildingAction(this, "First Action");

        ActionList.Add(firstAction);

        BasicBuildingAction secondAction = new BasicBuildingAction(this, "Second Action");

        ActionList.Add(secondAction);
    }
Exemple #2
0
    private void BindLongSkinnyActions()
    {
        ActionList = new List <PlaceableAction>();

        BasicBuildingAction firstAction = new BasicBuildingAction(this, "LongSkinny Action");

        ActionList.Add(firstAction);
        BasicBuildingAction secondAction = new BasicBuildingAction(this, "LongSkinny Action");

        ActionList.Add(secondAction);
        BasicBuildingAction thirdAction = new BasicBuildingAction(this, "LongSkinny Action");

        ActionList.Add(thirdAction);
    }