public function remove(u:Unit)
{
for (var i = 0; i < size; ++i)
}
The errors are:
1008: variable 'i' has no type declaration
1008: return value for function 'remove' has no type declaration
The errors are:
|
|||||||||
|
Questions on Game Development Stack Exchange are expected to relate to game development within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
You have no braces after your for-loop declaration.
Also, perhaps size is not defined. Please, in future use stackoverflow.com for pure programming type questions such as this. |
|||
|