53 lines
1.1 KiB
Ucode
53 lines
1.1 KiB
Ucode
class a_ActorBase extends Actor;
|
|
|
|
//=============================================================================
|
|
// woah, we are making our first linked list
|
|
// var a_ActorManager Next;
|
|
|
|
|
|
//=============================================================================
|
|
function Termination()
|
|
{
|
|
destroy();
|
|
}
|
|
|
|
// add a new actor at the end of the list
|
|
// final function element_Add(a_ActorManager a)
|
|
// {
|
|
// if (Next == none)
|
|
// Next = a;
|
|
// else
|
|
// Next.element_Add(a);
|
|
// }
|
|
|
|
|
|
// in the SomeImportantActor class
|
|
// Function RemoveElement(ListElement Element)
|
|
// {
|
|
// Local ListElement List;
|
|
// If (Element==FirstElement)
|
|
// FirstElement=Element.Next;
|
|
// Else
|
|
// For (List=FirstElement;List!=none;List=List.Next)
|
|
// If (List.Next==Element)
|
|
// {
|
|
// List.Next=Element.Next;
|
|
// Break;
|
|
// }
|
|
// }
|
|
|
|
|
|
// self cleanup
|
|
// event Destroyed()
|
|
// {
|
|
// super.Destroyed();
|
|
// }
|
|
|
|
|
|
//=============================================================================
|
|
|
|
defaultproperties
|
|
{
|
|
DrawType=DT_None
|
|
}
|