about summary refs log tree commit diff stats
path: root/data/maps/the_unyielding/rooms/Daisy Alcove.txtpb
blob: c974cbe098fde4fa41bb3a04e0599305d4e6ae57 (plain) (blame)
1
2
3
4
5
6
7
8
9
name: "Daisy Alcove"
panels {
  name: "CYANIDES"
  path: "Panels/Door Openers/yellow_ne"
  clue: "cyanides"
  answer: "daisy"
  symbols: SPARKLES
  symbols: ANAGRAM
}
fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.fourisland.fourpuzzle.gamestate.mapview.event;

import com.fourisland.fourpuzzle.gamestate.mapview.event.precondition.Precondition;
import java.util.ArrayList;

/**
 *
 * @author hatkirby
 */
public class CommonEvent {

    private ArrayList<Precondition> preconditions;
    private EventCallTime calltime;
    private EventCall callback;
    
    public CommonEvent()
    {
        calltime = EventCallTime.ParallelProcess;
        callback = EventCall.getEmptyEventCall();
        
        preconditions = new ArrayList<Precondition>();
    }
    
    public void addPrecondition(Precondition precondition)
    {
        preconditions.add(precondition);
    }
    
    public Precondition getPrecondition(int i)
    {
        return preconditions.get(i);
    }
    
    public int preconditions()
    {
        return preconditions.size();
    }

    public EventCall getCallback()
    {
        return callback;
    }
    
    public void setCallback(EventCall callback)
    {
        this.callback = callback;
    }

    public EventCallTime getCalltime() {
        return calltime;
    }

    public void setCalltime(EventCallTime calltime) {
        this.calltime = calltime;
    }
    
}