2007-04-28 20:54:02 +00:00
|
|
|
using System;
|
2008-07-21 21:12:59 +00:00
|
|
|
using OpenMetaverse;
|
2007-04-28 20:54:02 +00:00
|
|
|
|
2008-07-21 21:12:59 +00:00
|
|
|
namespace OpenMetaverse.TestClient
|
2007-04-28 20:54:02 +00:00
|
|
|
{
|
|
|
|
|
public class JumpCommand: Command
|
|
|
|
|
{
|
|
|
|
|
public JumpCommand(TestClient testClient)
|
|
|
|
|
{
|
|
|
|
|
Name = "jump";
|
2007-11-29 01:28:41 +00:00
|
|
|
Description = "Jumps or flies up";
|
2008-07-25 08:55:36 +00:00
|
|
|
Category = CommandCategory.Movement;
|
2007-04-28 20:54:02 +00:00
|
|
|
}
|
|
|
|
|
|
2008-07-25 05:15:05 +00:00
|
|
|
public override string Execute(string[] args, UUID fromAgentID)
|
2007-04-28 20:54:02 +00:00
|
|
|
{
|
2007-11-29 01:28:41 +00:00
|
|
|
Client.Self.Jump();
|
|
|
|
|
return "Jumped";
|
2007-04-28 20:54:02 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|