Class to provide different Utilities for dealing with Object Data
Static methods
staticcopy_fields<T>(from:T, into:T):T
Copy an object's fields into target object. Overwrites the target object's fields. Can work with Static Classes as well (as destination)
Adapted from the DJFlixel Library: https://github.com/johndimi/djFlixel
Parameters:
from | The Master object to copy fields from |
---|---|
into | The Target object to copy fields to |
Returns:
The resulting object