New issue
 Projects > js > Issues > Feature #3371

create some xxxConst for Point, Size, Color3B etc

Feature #3371 [Closed]
ludingping 2013-12-11 02:14 . Updated about 11 years ago

Purpose:
These classes only used in engine inner class, their public property is readonly,
example:
cc.Node’s position uses PointConst class, and getPosition returns the reference instead of returns a new Point object. if developers set position’s x, PointConst will show some log information to notice developers.

ludingping 2013-12-22 20:49
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:3d7b7631e374a48d027c8d7a03be616053e1b648.

Atom PDF

Status:Closed
Start date:2013-12-11
Priority:Normal
Due date:
Assignee:ludingping
% Done:

100%

Category:-
Target version:v2.2.2