Mire Engine


[JS] Actor

« Older   Newer »
 
  Share  
.
  1.     +1   -1
     
    .
    Avatar

    MMORpgmaker & Mire Engine Founder

    Group
    Administrator
    Posts
    657
    Reputation
    0
    Location
    Dall'abisso

    Status
    Offline
    MireEngine: Actor.js


    //######################################
    // Actor Class -
    //
    // Enable, Disable Controls and Render
    // Actors
    //--------------------------------------
    // By Mire Dev
    //######################################



    //Constructor
    function Actors()
    {

    };


    //Initialize the Actors
    Actors.prototype.Initialize = function ()
    {
    initialize_actors(true);
    };


    //Enable Actor Rendering
    Actors.prototype.Enable = function ()
    {
    enableactor(true);
    };


    //Disable Actor Rendering
    Actors.prototype.Disable = function ()
    {
    disableactor();
    };


    //Enable - Disable Actor Controls
    Actors.prototype.Controls = function (active)
    {
    actor_controls(active);
    };
     
    Top
    .
0 replies since 17/4/2019, 15:24   14 views
  Share  
.