pointing at D try a small d
|
i was instructed to rip devo's pvnpc
but am facing 1 problem
this >.>
public Distance(NPC NPC) {
this.n = NPC;
}
error:
Code:COMPILING.. NPC.java:19: invalid method declaration; return type required public Distance(NPC NPC) { ^ 1 error DivinePk - chris . Press any key to continue . . .
im using delta
pointing at D try a small d
Distance cannot be the name of the file since it thinks your doing somthing like this
but your trying to do thisCode:public int somthing() return 1; }
Code:public class distance { private NPC n; public distance(NPC n) { this.n = n; } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |