public Unity_Object_GBARRRMode7Unused(GBARRR_Object obj, Unity_ObjectManager_GBARRRMode7Unused objManager)
        {
            Object     = obj;
            ObjManager = objManager;

            AnimationGroupIndex = 1; // Default to the pencil
        }
Esempio n. 2
0
        public Unity_Object_GBARRR(GBARRR_Object obj, Unity_ObjectManager_GBARRR objManager)
        {
            Object     = obj;
            ObjManager = objManager;

            // P_FunctionPointer is filled in later, can't do this check here

            /*if (actor.ObjectType == GBARRR_ActorType.Special && Actor.P_GraphicsOffset == 0 && !Enum.IsDefined(typeof(SpecialType_Function), (SpecialType_Function)actor.P_FunctionPointer))
             *  Debug.LogWarning($"Special type with function pointer 0x{actor.P_FunctionPointer:X8} is not defined at ({Actor.XPosition}, {Actor.YPosition})");*/
        }