Exam

The "I'm Thinking" now thread
Post Reply
User avatar
boabyfett
Vyvyan Basterd
Posts: 4701
Joined: Tue Dec 06, 2005 10:47 pm
Location: In front of my pc forever learning java.

Exam

Post by boabyfett »

played too much warhammer instead of revising :(.

still nevermind I hate afternnon exams a whole day off and im pacing back and forth untill 2:30.

then 3 hours of java :D
B

Image

"This calls for a delicate blend of psychology and extreme violence."
Haviland
Volvo-Driving Soccer Mom
Posts: 8664
Joined: Fri Jul 14, 2006 9:12 am
Location: Secret Bar of Evil

Re: Exam

Post by Haviland »

Well, thenswer to question one is probably not "Storm the keep."
Image
User avatar
boabyfett
Vyvyan Basterd
Posts: 4701
Joined: Tue Dec 06, 2005 10:47 pm
Location: In front of my pc forever learning java.

Re: Exam

Post by boabyfett »

could be. could be.

id use two ArrayLists: ArrayList <Order> and ArrayList <Destruction>

import java.keep.*

private ArrayList <Order> attackers;
private ArrayList <Destruction> defenders;
private boolean stormTheKeep;

public Class StormTheKeep extends tierFour implements oRvR
{

public stormTheKeep(ArrayList localOrder, ArrayList localDest)
{
attackers = localOrder;
defenders = localDest;
stormTheKeep = false;
}

if(attackers.size() > defenders.size() || attackers.contains("Skarim") )
{
stormTheKeep = true;
}


}
Last edited by boabyfett on Thu Jun 18, 2009 10:24 am, edited 1 time in total.
B

Image

"This calls for a delicate blend of psychology and extreme violence."
Haviland
Volvo-Driving Soccer Mom
Posts: 8664
Joined: Fri Jul 14, 2006 9:12 am
Location: Secret Bar of Evil

Re: Exam

Post by Haviland »

:roll:
Image
Post Reply