#include "scripts/animations.txt"
#include "scripts/bp_common.txt"
#include "scripts/Input.txt"

class Test : ScriptObject {
    kActor @self;
	Input input;
	//------------------------------------------------------------------------------------------------------------------------
    Test(kActor @actor) {
        @self = actor;
		input = Input();
    }
	//------------------------------------------------------------------------------------------------------------------------
    void OnTick(void) {
		input.Update();
		if (input.WeaponLeftDown()) {
			Sys.Print("" + self.CanSee(Player.Actor().CastToActor()));
		}
    }
	//------------------------------------------------------------------------------------------------------------------------
    void OnSpawn(void) {
    }
	//------------------------------------------------------------------------------------------------------------------------
};
