// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) space 
// Source File Name:   MethodIPProvider.java

package lt.ktu.gmj.methods;

import lt.ktu.gmj.propertySheet.InvalidPropertyException;
import lt.ktu.gmj.propertySheet.SimplePropertyProvider;

// Referenced classes of package lt.ktu.gmj.methods:
//            IPMethodBase

class MethodIPProvider extends SimplePropertyProvider
{

    public MethodIPProvider(IPMethodBase ipmethodbase)
    {
        method = ipmethodbase;
    }

    public Object get()
    {
        return new Integer(method.initialPoints);
    }

    public void set(Object obj)
        throws InvalidPropertyException
    {
        method.initialPoints = ((Integer)obj).intValue();
    }

    public IPMethodBase method;
}
