PhysicalFactory.java

codebase/src/net/sourceforge/pain/logic/fn/factory/PhysicalFactory.java · 422 B

From the archive pain_0_44.tgz

Download the archive   « Back to the archive contents

package net.sourceforge.pain.logic.fn.factory;

import net.sourceforge.pain.data.prototype.*;
import net.sourceforge.pain.data.type.*;

/**
 * User: fmike  Date: Sep 13, 2003   Time: 8:38:14 PM
 */
public class PhysicalFactory {

	public static void init(PhysicalPrototype proto, Physical obj) {
		obj.setAppearanceDesc(proto.getAppearanceDesc());
		obj.setSize(proto.getSize());
		obj.setWeight(proto.getWeight());
	}

}

Site Stats

Snippets: 1791
Codebases: 571