Bug?

0 views
Skip to first unread message

Sitnarf

unread,
Jul 9, 2008, 10:37:39 AM7/9/08
to APE General
Hi,
I have last version from svn but I simple don't understant why I can't
do this:
public class Move {
...
APEngine.init();
APEngine.container = this;
APEngine.addForce(new Vector(0,2))
...
}

TypeError: Error #1034: Type Coercion failed: cannot convert
org.cove.ape::Vector@2ffa9c1 to org.cove.ape.IForce

jpjj05...@yahoo.com

unread,
Jul 9, 2008, 2:45:47 PM7/9/08
to APE General
Try: APEngine.addForce(new VectorForce(0,2))
Reply all
Reply to author
Forward
0 new messages