######################FUNCTIONS##

[#001] AddFunds
[#002] SelectedActor
[#003] ShowPositionInGame
[#004] SpawnActor
[#005] SpawnItem
[#006] KillAllActors



#################[#001] AddFunds

AddFunds(amount, team)

Arguments: 
	amount - Integer
	team - Integer

Description:
	Adds specified amount of gold to a team's funds. 
	If no amount given, adds 1000 gold to funds by default.
	If no team given, adds funds to team 0 (RED) by default.
	
	Team numbers are:
	0 - Red
	1 - Green
	2 - Blue
	3 - Yellow

Returns:
	Nothing


#################[#002] SelectedActorPosition

SelectedActor()

Arguments: 
	None

Description:
	Returns the pointer to the currently selected actor.

Returns:
	Pointer - Actor


#################[#003] ShowPositionInGame

ShowPositionInGame(position)

Arugments: 
	position - Vector 

Description:
	Creates a glowy, red pixel in the given position.
	If position is not given, Vector(0,0) is used as default.

Returns:
	Nothing


#################[#004] SpawnActor

SpawnActor(presetname, position, team, amount, inventory)

Arugments: 
	presetname - String
	position - Vector
	team - Integer
	amount - Integer
	inventory - String

Description:
	Spawns an actor with the given PresetName on the specified Postion under control of the selected team.
	If presetname is not given, creates "Ronin Soldier" by default.
	If position is not given, it's set to the selected actor's position + 80 pixels to the right by default.
	If team is not given, actor is set to team -1 by default.
	If amount is not given, only one actor is created by default. When creating more than one, they are placed symetrically around the given position.
	If inventory is not given, actors won't have equipped items by default.

	Team numbers are:
	0 - Red
	1 - Green
	2 - Blue
	3 - Yellow

Returns:
	Nothing


#################[#005] SpawnItem

SpawnItem(presetname, position, amount)

Arugments: 
	presetname - String
	position - Vector
	amount - Integer

Description:
	Spawns an item with the given PresetName on the specified Postion.
	If position is not given, it's set to the selected actor's position + 80 pixels to the right by default.
	If amount is not given, only one item is created by default. When creating more than one, they are placed symetrically around the given position.

Returns:
	Nothing


#################[#006] KillAllActors

KillAllActors(team, level)

Arugments: 
	team - Integer
	level - Integer

Description:
	Kills all actors of the selected team with the corresponding level of gore.
	If team is not given, it kills team 2 (GREEN) by default.
	If level is not given, violence level is set to 0 by default.
	Brains are NOT affected!!
	
	Team numbers are:
	0 - Red
	1 - Green
	2 - Blue
	3 - Yellow

	Gore levels are:
	0 - No gore
	1 - Normal gore
	2 - Extreme gore

Returns:
	Nothing
